From 4585cf2c9b81cf8dfb876b77cd6ad783009339f8 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 08 Jan 2008 11:52:47 -0500 Subject: [PATCH] Enhanced update script, mail plugin. Updated ToDo item list. --- install/lib/installer_base.lib.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 55328bf..9bfbf6e 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -623,7 +623,7 @@ if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { if($file != '.' && $file != '..') { - symlink($install_dir.'/server/plugins-available/'.$file, $install_dir.'/server/plugins-enabled/'.$file); + if(!is_link($install_dir.'/server/plugins-enabled/'.$file)) symlink($install_dir.'/server/plugins-available/'.$file, $install_dir.'/server/plugins-enabled/'.$file); } } closedir($dh); -- Gitblit v1.9.1