Merge code from github to bitbucket 2014-08-14
This commit is contained in:
@@ -1142,7 +1142,7 @@ class System
|
||||
@preg_match( $patt, $content, $match );
|
||||
|
||||
if (is_array( $match ) && count( $match ) > 0 && isset( $match[1] )) {
|
||||
$newUrl = 'sys/' . $conf['lang'] . '/' . $conf['skin'] . '/login/login';
|
||||
$newUrl = "sys/" . (($conf["lang"] != "")? $conf["lang"] : ((defined("SYS_LANG") && SYS_LANG != "")? SYS_LANG : "en")) . "/" . $conf["skin"] . "/login/login";
|
||||
|
||||
$newMetaStr = str_replace( $match[1], $newUrl, $match[0] );
|
||||
$newContent = str_replace( $match[0], $newMetaStr, $content );
|
||||
|
||||
Reference in New Issue
Block a user