diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index c1201c869..6b0b791f0 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -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 : ""; }