Skip to content

Commit baf2ef3

Browse files
committed
Changed the symlink function in the the installer.
1 parent 5660b94 commit baf2ef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ public function install_ispconfig()
611611
if ($dh = opendir($dir)) {
612612
while (($file = readdir($dh)) !== false) {
613613
if($file != '.' && $file != '..') {
614-
symlink($install_dir.'/server/mods-enabled/'.$file,$install_dir.'/server/mods-available/'.$file);
614+
symlink($install_dir.'/server/mods-available/'.$file, $install_dir.'/server/mods-enabled/'.$file);
615615
}
616616
}
617617
closedir($dh);
@@ -623,7 +623,7 @@ public function install_ispconfig()
623623
if ($dh = opendir($dir)) {
624624
while (($file = readdir($dh)) !== false) {
625625
if($file != '.' && $file != '..') {
626-
symlink($install_dir.'/server/plugins-enabled/'.$file,$install_dir.'/server/plugins-available/'.$file);
626+
symlink($install_dir.'/server/plugins-available/'.$file, $install_dir.'/server/plugins-enabled/'.$file);
627627
}
628628
}
629629
closedir($dh);

0 commit comments

Comments
 (0)