Till Brehm
2016-04-22 ebd0e986ed11f2a34fb58cdd33efbfab192083ad
install/uninstall.php
@@ -57,7 +57,7 @@
exec("/etc/init.d/mysql stop");
exec("rm -rf /var/lib/mysql/".$conf["db_database"]);
exec("/etc/init.d/mysql start");
exec("/etc/init.d/mysql start >/dev/null 2>&1");
// Deleting the symlink in /var/www
// Apache
@@ -75,6 +75,15 @@
// Delete the ispconfig files
exec('rm -rf /usr/local/ispconfig');
// Delete various other files
@unlink("/usr/local/bin/ispconfig_update.sh");
@unlink("/usr/local/bin/ispconfig_update_from_svn.sh");
@unlink("/var/spool/mail/ispconfig");
@unlink("/var/www/ispconfig");
@unlink("/var/www/php-fcgi-scripts/ispconfig");
@unlink("/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter");
echo "Backups in /var/backup/ and log files in /var/log/ispconfig are not deleted.";
echo "Please do not forget to delete the ispconfig user in the mysql.user table.\n\n";
echo "Finished.\n";