diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index 6b0b791f0..2892cc31c 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -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);