Skip to content
Snippets Groups Projects
Commit 28308e95 authored by Falko Timme's avatar Falko Timme
Browse files

- Changed uninstall scripts - included nginx.

parent 14b8be7e
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,17 @@ exec("rm -rf /var/lib/mysql/".$conf["db_database"]);
exec("/etc/init.d/mysqld start");
// Deleting the symlink in /var/www
unlink("/etc/httpd/conf/sites-enabled/000-ispconfig.vhost");
unlink("/etc/httpd/conf/sites-available/ispconfig.vhost");
// Apache
@unlink("/etc/httpd/conf/sites-enabled/000-ispconfig.vhost");
@unlink("/etc/httpd/conf/sites-available/ispconfig.vhost");
@unlink("/etc/httpd/conf/sites-enabled/000-apps.vhost");
@unlink("/etc/httpd/conf/sites-available/apps.vhost");
// nginx
@unlink("/etc/nginx/sites-enabled/000-ispconfig.vhost");
@unlink("/etc/nginx/sites-available/ispconfig.vhost");
@unlink("/etc/nginx/sites-enabled/000-apps.vhost");
@unlink("/etc/nginx/sites-available/apps.vhost");
// Delete the ispconfig files
exec('rm -rf /usr/local/ispconfig');
......
......@@ -60,8 +60,17 @@ exec("rm -rf /var/lib/mysql/".$conf["db_database"]);
exec("/etc/init.d/mysql start");
// Deleting the symlink in /var/www
unlink("/etc/apache2/sites-enabled/000-ispconfig.vhost");
unlink("/etc/apache2/sites-available/ispconfig.vhost");
// Apache
@unlink("/etc/apache2/sites-enabled/000-ispconfig.vhost");
@unlink("/etc/apache2/sites-available/ispconfig.vhost");
@unlink("/etc/apache2/sites-enabled/000-apps.vhost");
@unlink("/etc/apache2/sites-available/apps.vhost");
// nginx
@unlink("/etc/nginx/sites-enabled/000-ispconfig.vhost");
@unlink("/etc/nginx/sites-available/ispconfig.vhost");
@unlink("/etc/nginx/sites-enabled/000-apps.vhost");
@unlink("/etc/nginx/sites-available/apps.vhost");
// Delete the ispconfig files
exec('rm -rf /usr/local/ispconfig');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment