From 5ecd4a795c1fb944f021099c5e7c17ae51a97be8 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Tue, 06 Nov 2012 10:29:05 -0500 Subject: [PATCH] - Finished (hopefully) nginx rewrite section. --- server/plugins-available/apache2_plugin.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index 45aad87..542d62a 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -1582,7 +1582,7 @@ $tmp_symlink = str_replace('[website_domain]',$data['old']['domain'],$tmp_symlink); // Remove trailing slash if(substr($tmp_symlink, -1, 1) == '/') $tmp_symlink = substr($tmp_symlink, 0, -1); - // create the symlinks, if not exist + // delete the symlink if(is_link($tmp_symlink)) { $app->system->unlink($tmp_symlink); $app->log('Removing symlink: '.$tmp_symlink,LOGLEVEL_DEBUG); -- Gitblit v1.9.1