install/uninstall.php
@@ -33,6 +33,9 @@ // Delete the ISPConfig database // $app->db->query("DROP DATABASE '".$conf["db_database"]."'"); // $app->db->query("DELETE FROM mysql.user WHERE User = 'ispconfig'"); exec("/etc/init.d/mysql stop"); exec("rm -rf /var/lib/mysql/".$conf["db_database"]); exec("/etc/init.d/mysql start"); @@ -44,6 +47,8 @@ // Delete the ispconfig files exec('rm -rf /usr/local/ispconfig'); echo "Please do not forget to delete the ispconfig user in the mysql.user table.\n\n"; echo "Finished.\n"; ?>