1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

plugLan typo

This commit is contained in:
SecretR
2012-11-30 13:23:55 +02:00
parent 2234f8f62c
commit 84eec7cdbb

View File

@@ -2074,7 +2074,7 @@ class e107
{ {
$fname = e_LANGUAGE.($flat ? '_' : '/').preg_replace('#[^\w/]#', '', $fname); $fname = e_LANGUAGE.($flat ? '_' : '/').preg_replace('#[^\w/]#', '', $fname);
} }
if($fname === true) // admin file. elseif($fname === true) // admin file.
{ {
$fname = "admin/".e_LANGUAGE; $fname = "admin/".e_LANGUAGE;
} }
@@ -2085,7 +2085,7 @@ class e107
$path = e_PLUGIN.$plugin.'/languages/'.$fname.'.php'; $path = e_PLUGIN.$plugin.'/languages/'.$fname.'.php';
// echo "path = ".$path; //echo "path = ".$path.'<br>';
e107::setRegistry($cstring, true); e107::setRegistry($cstring, true);
self::includeLan($path, false); self::includeLan($path, false);