1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Closes #385 Corrected language-file debug warnings.

This commit is contained in:
Cameron
2014-02-05 06:14:13 -08:00
parent 3ca9052f69
commit 5b4dbb83e4

View File

@@ -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 : "";
}