tbrehm
2008-01-08 7ea3df9a2c436e6ab87756c52cd8548c50baa63e
Fixed a error with the symlink creation during update.
1 files modified
2 ■■■ changed files
install/lib/installer_base.lib.php 2 ●●● patch | view | raw | blame | history
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-available/'.$file, $install_dir.'/server/mods-enabled/'.$file);
                        if(!is_link($install_dir.'/server/mods-enabled/'.$file)) symlink($install_dir.'/server/mods-available/'.$file, $install_dir.'/server/mods-enabled/'.$file);
                    }
                }
                closedir($dh);