1
0
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:
camer0n
2025-04-04 18:29:07 -07:00
parent c46b7b1d36
commit 31e7d1d3b0
93 changed files with 5255 additions and 6358 deletions

View File

@@ -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");