File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -896,7 +896,11 @@ if [ "$nginx" = 'yes' ]; then
896896 rm -f /etc/php/7.1/fpm/pool.d/*
897897 cp -r /etc/php/7.2/ /root/hst_install_backups/php7.2/
898898 rm -f /etc/php/7.2/fpm/pool.d/*
899+ rm -fr $HESTIA /data/templates/web/nginx/*
899900 cp -f $hestiacp /multiphp/nginx/* $HESTIA /data/templates/web/nginx/
901+ ln -s $HESTIA /data/templates/web/nginx/PHP-72.sh $HESTIA /data/templates/web/nginx/default.sh
902+ ln -s $HESTIA /data/templates/web/nginx/PHP-72.tpl $HESTIA /data/templates/web/nginx/default.tpl
903+ ln -s $HESTIA /data/templates/web/nginx/PHP-72.stpl $HESTIA /data/templates/web/nginx/default.stpl
900904 chmod a+x $HESTIA /data/templates/web/nginx/* .sh
901905 fi
902906 update-rc.d nginx defaults
Original file line number Diff line number Diff line change @@ -891,7 +891,11 @@ if [ "$nginx" = 'yes' ]; then
891891 rm -f /etc/php/7.1/fpm/pool.d/*
892892 cp -r /etc/php/7.2/ /root/hst_install_backups/php7.2/
893893 rm -f /etc/php/7.2/fpm/pool.d/*
894+ rm -fr $HESTIA /data/templates/web/nginx/*
894895 cp -f $hestiacp /multiphp/nginx/* $HESTIA /data/templates/web/nginx/
896+ ln -s $HESTIA /data/templates/web/nginx/PHP-72.sh $HESTIA /data/templates/web/nginx/default.sh
897+ ln -s $HESTIA /data/templates/web/nginx/PHP-72.tpl $HESTIA /data/templates/web/nginx/default.tpl
898+ ln -s $HESTIA /data/templates/web/nginx/PHP-72.stpl $HESTIA /data/templates/web/nginx/default.stpl
895899 chmod a+x $HESTIA /data/templates/web/nginx/* .sh
896900 fi
897901 update-rc.d nginx defaults
You can’t perform that action at this time.
0 commit comments