mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
plugLan typo
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user