quentusrex
2008-10-30 620df024f3d8960a89eb4ed71d3ea61e2b9aa3db
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";
?>