From baf2ef3363314db3354d6004d5ffe623aebe6293 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 06 Jan 2008 14:06:10 -0500
Subject: [PATCH] Changed the symlink function in the the installer.
---
install/lib/installer_base.lib.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index cf1e6a6..cd85e92 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -611,7 +611,7 @@
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if($file != '.' && $file != '..') {
- symlink($install_dir.'/server/mods-enabled/'.$file,$install_dir.'/server/mods-available/'.$file);
+ symlink($install_dir.'/server/mods-available/'.$file, $install_dir.'/server/mods-enabled/'.$file);
}
}
closedir($dh);
@@ -623,7 +623,7 @@
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if($file != '.' && $file != '..') {
- symlink($install_dir.'/server/plugins-enabled/'.$file,$install_dir.'/server/plugins-available/'.$file);
+ symlink($install_dir.'/server/plugins-available/'.$file, $install_dir.'/server/plugins-enabled/'.$file);
}
}
closedir($dh);
--
Gitblit v1.9.1