We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc55c82 commit 0d15f86Copy full SHA for 0d15f86
install/upgrade/versions/1.4.0.sh
@@ -136,3 +136,11 @@ if [ "$WEB_SYSTEM" = "nginx" ]; then
136
sed -i "s|TPL='codeigniter2'|TPL='codeigniter'|g" $HESTIA/data/users/*/web.conf
137
sed -i "s|TPL='codeigniter3'|TPL='codeigniter'|g" $HESTIA/data/users/*/web.conf
138
fi
139
+
140
+# Remove outdated nginx templates
141
+echo "[ * ] Removing outdated nginx templates..."
142
+rm -rf $HESTIA/data/templates/web/nginx/php-fpm/drupal6.*tpl
143
+rm -rf $HESTIA/data/templates/web/nginx/php-fpm/drupal7.*tpl
144
+rm -rf $HESTIA/data/templates/web/nginx/php-fpm/drupal8.*tpl
145
+rm -rf $HESTIA/data/templates/web/nginx/php-fpm/codeigniter2.*tpl
146
+rm -rf $HESTIA/data/templates/web/nginx/php-fpm/codeigniter3.*tpl
0 commit comments