mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Issue #5465 Core language files converted. (excluding plugins)
This commit is contained in:
@@ -1056,7 +1056,22 @@ function show_emessage($mode, $message, $line = 0, $file = "") {
|
||||
|
||||
if(is_readable($path))
|
||||
{
|
||||
include($path);
|
||||
$arr = include($path);
|
||||
if(is_array($arr))
|
||||
{
|
||||
foreach($arr as $key => $value)
|
||||
{
|
||||
if(empty($key))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!defined($key))
|
||||
{
|
||||
define($key, $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_error.php");
|
||||
|
Reference in New Issue
Block a user