Merge branch 'master' of git://github.com/colosa/processmaker into BUG-15394
This commit is contained in:
@@ -682,14 +682,14 @@ class System
|
||||
return System::getSchema( PATH_TRUNK . "workflow/engine/config/schema.xml" );
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the system schema rbac.
|
||||
*
|
||||
* @return schema content in an array
|
||||
*/
|
||||
public static function getSystemSchemaRbac ()
|
||||
{
|
||||
return System::getSchema( PATH_TRUNK . "rbac/engine/config/schema.xml" );
|
||||
/**
|
||||
* Retrieves the system schema rbac.
|
||||
*
|
||||
* @return schema content in an array
|
||||
*/
|
||||
public static function getSystemSchemaRbac ()
|
||||
{
|
||||
return System::getSchema( PATH_TRUNK . "rbac/engine/config/schema.xml" );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1138,7 +1138,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