1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Fix for language-file include warnings.

This commit is contained in:
Cameron
2014-02-07 05:07:49 -08:00
parent f100297108
commit c6d29662a7

View File

@@ -2288,6 +2288,11 @@ class e107
self::getMessage()->addDebug("Couldn't load language file: ".$path);
$path = str_replace(e_LANGUAGE, 'English', $path);
if(!is_readable($path))
{
return;
}
}
$ret = ($force) ? include($path) : include_once($path);