Project

General

Profile

Bug #21474 ยป 12484.patch

Administrator Admin, 2009-11-05 20:25

View differences:

t3lib/class.t3lib_loadmodules.php (working copy)
}
$modconf = array();
$path = preg_replace('/\/[^\/.]+\/\.\.\//', '/', $fullpath); // because 'path/../path' does not work
$path = t3lib_div::resolveBackPath($fullpath); // because 'path/../path' does not work
if (@is_dir($path) && file_exists($path.'/conf.php')) {
$MCONF = array();
$MLANG = array();
    (1-1/1)