mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +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)
|
||||
{
|
||||
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');
|
||||
|
Reference in New Issue
Block a user