From 76ada3e6f961c4b4c56c4e6bbac62ad21e99de52 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 18 Aug 2008 16:16:52 +0000
Subject: [PATCH] Fixed a bug in uninstall script.

---
 install/uninstall.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/install/uninstall.php b/install/uninstall.php
index 6e8ffe3865..e8085d4fbd 100644
--- a/install/uninstall.php
+++ b/install/uninstall.php
@@ -1,7 +1,7 @@
 <?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');
-- 
GitLab