Commit 76ada3e6 authored by tbrehm's avatar tbrehm
Browse files

Fixed a bug in uninstall script.

parent d5be8964
<?php
/*
Copyright (c) 2007, Till Brehm, projektfarm Gmbh
Copyright (c) 2008, Till Brehm, projektfarm Gmbh
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
......@@ -38,7 +38,8 @@ 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");
unlink("/etc/apache2/sites-enabled/ispconfig.vhost");
unlink("/etc/apache2/sites-available/ispconfig.vhost");
// Delete the ispconfig files
exec('rm -rf /usr/local/ispconfig');
......
Markdown is supported
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