Skip to content
Snippets Groups Projects
Commit c63b399f authored by unknown's avatar unknown
Browse files

Few more fixes on uninstall

parent 92aea2e8
No related branches found
No related tags found
No related merge requests found
...@@ -55,10 +55,10 @@ echo "Are you sure you want to uninsatll ISPConfig? [no]"; ...@@ -55,10 +55,10 @@ echo "Are you sure you want to uninsatll ISPConfig? [no]";
$input = fgets(STDIN); $input = fgets(STDIN);
$do_uninstall = rtrim($input); $do_uninstall = rtrim($input);
echo "\n\n>> Uninstalling ISPConfig 3... \n\n";
if($do_uninstall == 'yes') { if($do_uninstall == 'yes') {
echo "\n\n>> Uninstalling ISPConfig 3... \n\n";
// Delete the ISPConfig database // Delete the ISPConfig database
// $app->db->query("DROP DATABASE '".$conf["db_database"]."'"); // $app->db->query("DROP DATABASE '".$conf["db_database"]."'");
...@@ -86,9 +86,10 @@ if($do_uninstall == 'yes') { ...@@ -86,9 +86,10 @@ if($do_uninstall == 'yes') {
exec('rm -rf /usr/local/ispconfig'); exec('rm -rf /usr/local/ispconfig');
echo "Please do not forget to delete the ispconfig user in the mysql.user table.\n\n"; echo "Please do not forget to delete the ispconfig user in the mysql.user table.\n\n";
echo "Finished uninstalling.\n";
echo "Finished.\n";
} else {
echo "\n\n>> Canceled uninstall. \n\n";
} }
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment