Commit 242764b3 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Path.php: remove breaking code

parent 6e1fdb81
Pipeline #6649 passed with stages
in 3 minutes and 5 seconds
......@@ -220,11 +220,7 @@ class Path {
// ensure base url is configured
if (is_null(self::$urlApp) || self::$urlApp === '') {
if($GLOBALS["_SERVER"]["SCRIPT_URI"] ==='') {
Thrower::userFormException('Base url not configured.', 'Go to QFQ extension configuration in the Typo3 backend and fill in a value for config.baseUrl');
}else{
Thrower::userFormException('Base url has now been configured.', 'Please refresh page');
}
Thrower::userFormException('Base url not configured.', 'Go to QFQ extension configuration in the Typo3 backend and fill in a value for config.baseUrl');
}
return self::join(self::$urlApp, $pathPartsToAppend);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment