php-fpm support

This commit is contained in:
Serghey Rodin 2015-04-16 02:43:31 +03:00
commit 567ce7e832
64 changed files with 976 additions and 197 deletions

View file

@ -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 "----------"