1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 08:34:09 +02:00

only use [x], [y], [z] replacement patterns

This commit is contained in:
Lóna Lore
2015-05-07 10:55:44 +02:00
parent fe6e09d08d
commit 96f3332fb1
7 changed files with 21 additions and 21 deletions

View File

@@ -1447,7 +1447,7 @@ function zip_up_lang($language)
$ret['error'] = TRUE;
$file = "e107_languages/{$language}/{$language}.php";
$def = (defined('LANG_LAN_25')) ? LANG_LAN_25 : LANG_LAN_119;
$ret['message'] = str_replace("[lcpath]",$file,$def); //
$ret['message'] = str_replace("[x]",$file,$def); //
return $ret;
}