Project

General

Profile

Bug #17506 » EM_error_info-1.diff

Administrator Admin, 2007-08-09 12:30

View differences:

class.em_index.php (copie de travail)
$extList = t3lib_div::get_dirs($path);
if (is_array($extList)) {
foreach($extList as $extKey) {
if (@is_file($path.$extKey.'/ext_emconf.php')) {
$emConf = $this->includeEMCONF($path.$extKey.'/ext_emconf.php', $extKey);
$filename = $path.$extKey.'/ext_emconf.php';
if (@is_file($filename)) {
$emConf = $this->includeEMCONF($filename, $extKey);
if (is_array($emConf)) {
if (is_array($list[$extKey])) {
$list[$extKey]=array('doubleInstall'=>$list[$extKey]['doubleInstall']);
......
$this->setCat($cat,$list[$extKey], $extKey);
}
} else {
if ($extKey != '.svn' && $extKey != 'CVS') {
debug ($filename, $filename.' not found.', __LINE__, __FILE__);
}
}
}
}
......
* @return array EMconf array values.
*/
function includeEMCONF($path,$_EXTKEY) {
@include($path);
include($path);
if(is_array($EM_CONF[$_EXTKEY])) {
return $this->fixEMCONF($EM_CONF[$_EXTKEY]);
}
(2-2/4)