mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 13:24:24 -07:00
php-fpm support
This commit is contained in:
parent
dfbcc06269
commit
567ce7e832
64 changed files with 976 additions and 197 deletions
|
@ -18,7 +18,8 @@ source $VESTA/conf/vesta.conf
|
|||
|
||||
# Json function
|
||||
json_list_wtpl() {
|
||||
templates=$(ls -t $WEBTPL/$WEB_SYSTEM | cut -f 1 -d '.' |sort -u )
|
||||
templates=$(ls -t $WEBTPL/$WEB_SYSTEM/$WEB_BACKEND/)
|
||||
templates=$(echo "$templates" | grep "\.tpl" |cut -f 1 -d '.' )
|
||||
t_counter=$(echo "$templates" | wc -w)
|
||||
i=1
|
||||
echo '['
|
||||
|
@ -35,7 +36,8 @@ json_list_wtpl() {
|
|||
|
||||
# Shell function
|
||||
shell_list_wtpl() {
|
||||
templates=$(ls -t $WEBTPL/$WEB_SYSTEM | cut -f 1 -d '.' |sort -u )
|
||||
templates=$(ls -t $WEBTPL/$WEB_SYSTEM/$WEB_BACKEND/)
|
||||
templates=$(echo "$templates" | grep "\.tpl" |cut -f 1 -d '.' )
|
||||
if [ -z "$nohead" ]; then
|
||||
echo "Templates"
|
||||
echo "----------"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue