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