fixed warning and deprecated errors
Dieser Commit ist enthalten in:
Ursprung
06cc337092
Commit
91b0fd8c15
2 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen
|
@ -149,8 +149,8 @@ class ModRewriteUrlStack {
|
|||
$this->_chunkSetPrettyUrlParts($sStackId);
|
||||
}
|
||||
$aPretty = array(
|
||||
'urlpath' => $this->_aStack[$sStackId]['urlpath'],
|
||||
'urlname' => $this->_aStack[$sStackId]['urlname']
|
||||
'urlpath' => (empty($this->_aStack[$sStackId]['urlpath']))?'':$this->_aStack[$sStackId]['urlpath'],
|
||||
'urlname' => (empty($this->_aStack[$sStackId]['urlname']))?'':$this->_aStack[$sStackId]['urlname']
|
||||
);
|
||||
return $aPretty;
|
||||
}
|
||||
|
@ -168,7 +168,7 @@ class ModRewriteUrlStack {
|
|||
$aUrl['query'] = str_replace('&', '&', $aUrl['query']);
|
||||
parse_str($aUrl['query'], $aUrl['params']);
|
||||
}
|
||||
if (!isset($aUrl['params']) && !is_array($aUrl['params'])) {
|
||||
if (empty($aUrl['params']) || !is_array($aUrl['params'])) {
|
||||
$aUrl['params'] = array();
|
||||
}
|
||||
return $aUrl;
|
||||
|
|
|
@ -615,8 +615,7 @@ function mr_loadConfiguration($clientId, $forceReload = false) {
|
|||
}
|
||||
|
||||
function mr_getConfigurationFilePath($clientId) {
|
||||
$clientConfig = cRegistry::getClientConfig((int) $clientId);
|
||||
$fePath = $clientConfig['path']['frontend'];
|
||||
$fePath = cRegistry::getFrontendPath();
|
||||
return $fePath . 'data/config/' . CL_ENVIRONMENT . '/config.mod_rewrite.php';
|
||||
}
|
||||
|
||||
|
|
Laden …
In neuem Issue referenzieren