Commit 28308e95 authored by Falko Timme's avatar Falko Timme
Browse files

- Changed uninstall scripts - included nginx.

parent 14b8be7e
...@@ -60,8 +60,17 @@ exec("rm -rf /var/lib/mysql/".$conf["db_database"]); ...@@ -60,8 +60,17 @@ exec("rm -rf /var/lib/mysql/".$conf["db_database"]);
exec("/etc/init.d/mysqld start"); exec("/etc/init.d/mysqld start");
// Deleting the symlink in /var/www // Deleting the symlink in /var/www
unlink("/etc/httpd/conf/sites-enabled/000-ispconfig.vhost"); // Apache
unlink("/etc/httpd/conf/sites-available/ispconfig.vhost"); @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 // Delete the ispconfig files
exec('rm -rf /usr/local/ispconfig'); exec('rm -rf /usr/local/ispconfig');
......
...@@ -60,8 +60,17 @@ exec("rm -rf /var/lib/mysql/".$conf["db_database"]); ...@@ -60,8 +60,17 @@ exec("rm -rf /var/lib/mysql/".$conf["db_database"]);
exec("/etc/init.d/mysql start"); exec("/etc/init.d/mysql start");
// Deleting the symlink in /var/www // Deleting the symlink in /var/www
unlink("/etc/apache2/sites-enabled/000-ispconfig.vhost"); // Apache
unlink("/etc/apache2/sites-available/ispconfig.vhost"); @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 // Delete the ispconfig files
exec('rm -rf /usr/local/ispconfig'); exec('rm -rf /usr/local/ispconfig');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment