Commit 277d5699 authored by tbrehm's avatar tbrehm
Browse files

Fixed a bug in the uninstall script.

parent 83a707c4
......@@ -32,7 +32,10 @@ require("/usr/local/ispconfig/server/lib/config.inc.php");
require("/usr/local/ispconfig/server/lib/app.inc.php");
// Delete the ISPConfig database
$app->db->query("DROP DATABASE '".$conf["db_database"]."'");
// $app->db->query("DROP DATABASE '".$conf["db_database"]."'");
exec("/etc/init.d/mysql stop");
exec("rm -rf /var/lib/mysql/".$conf["db_database"]);
exec("/etc/init.d/mysql start");
// Deleting the symlink in /var/www
unlink("/var/www/ispconfig");
......
Supports Markdown
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