diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index cf1e6a6de1636dc3137e15465e2cf524d365ce74..cd85e9257f616ded7f68cc2076b059984b3ce9bf 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -611,7 +611,7 @@ class installer_base { 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 @@ class installer_base { 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);