mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
Issue #2899 - Theme language-file path fix.
This commit is contained in:
parent
8f8d22215b
commit
770d70ff41
@ -3216,7 +3216,7 @@ class e107
|
||||
*/
|
||||
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/';
|
||||
|
||||
$cstring = 'themelan/'.$theme.$fname.($flat ? '_1' : '_0');
|
||||
|
Loading…
x
Reference in New Issue
Block a user