fix for caching template

This commit is contained in:
Serghey Rodin 2015-10-05 23:31:53 +03:00
commit b6dd534b60
3 changed files with 9 additions and 9 deletions

View file

@ -188,8 +188,8 @@ if [ ! -z "$PROXY_SYSTEM" ]; then
if [ -z "$(grep "$conf" $proxy_conf)" ]; then
echo "include $conf;" >> $proxy_conf
fi
if [ -x $WEBTPL/$PROXY_SYSTEM/$template.sh ]; then
$WEBTPL/$PROXY_SYSTEM/$template.sh $user $domain $ip $HOMEDIR $docroot
if [ -x $WEBTPL/$PROXY_SYSTEM/$proxy.sh ]; then
$WEBTPL/$PROXY_SYSTEM/$proxy.sh $user $domain $ip $HOMEDIR $docroot
fi
fi