mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Closes #385 Corrected language-file debug warnings.
This commit is contained in:
@@ -2285,9 +2285,11 @@ class e107
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
// $path = str_replace(e_LANGUAGE, 'English', $path);
|
||||
|
||||
self::getMessage()->addDebug("Couldn't load language file: ".$path);
|
||||
$path = str_replace(e_LANGUAGE, 'English', $path);
|
||||
}
|
||||
|
||||
$ret = ($force) ? include($path) : include_once($path);
|
||||
return (isset($ret)) ? $ret : "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user