Commit baf2ef33 authored by tbrehm's avatar tbrehm

Changed the symlink function in the the installer.

parent 5660b94f
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment