mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Issue #2899 - Theme language-file path fix.
This commit is contained in:
@@ -3216,7 +3216,7 @@ class e107
|
|||||||
*/
|
*/
|
||||||
public static function themeLan($fname = '', $theme = null, $flat = false)
|
public static function themeLan($fname = '', $theme = null, $flat = false)
|
||||||
{
|
{
|
||||||
if(null === $theme) $theme = THEME.'/languages/';
|
if(null === $theme) $theme = THEME.'languages/';
|
||||||
else $theme = e_THEME.preg_replace('#[^\w/]#', '', $theme).'/languages/';
|
else $theme = e_THEME.preg_replace('#[^\w/]#', '', $theme).'/languages/';
|
||||||
|
|
||||||
$cstring = 'themelan/'.$theme.$fname.($flat ? '_1' : '_0');
|
$cstring = 'themelan/'.$theme.$fname.($flat ? '_1' : '_0');
|
||||||
|
Reference in New Issue
Block a user