mirror of
https://github.com/werkraum-media/abtest.git
synced 2024-12-22 08:26:10 +01:00
Bugfixing
This commit is contained in:
parent
3d15ac54e3
commit
68a32de089
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class Helper
|
|||
|
||||
// Get the rootpage_id from realurl config.
|
||||
$realurlConfig = $tsFeController->TYPO3_CONF_VARS['EXTCONF']['realurl'];
|
||||
if (array_key_exists($_SERVER['SERVER_NAME'], $realurlConfig)) {
|
||||
if (is_array($realurlConfig) && array_key_exists($_SERVER['SERVER_NAME'], $realurlConfig)) {
|
||||
$rootpage_id = $realurlConfig[$_SERVER['SERVER_NAME']]['pagePath']['rootpage_id'];
|
||||
} else {
|
||||
$rootpage_id = $realurlConfig['_DEFAULT']['pagePath']['rootpage_id'];
|
||||
|
|
Loading…
Reference in a new issue