Commit ae43b8fb authored by Marc Egger's avatar Marc Egger
Browse files

Refs #12159 throw exception if baseUrl is not configured

parent fdc42f37
Pipeline #5209 failed with stages
in 1 minute and 51 seconds
......@@ -113,7 +113,12 @@ class Config {
self::$config = $config;
// ensure base url is configured and use it for urls
$baseUrl = self::get(SYSTEM_BASE_URL);
if (is_null($baseUrl) || $baseUrl === '') {
Thrower::userFormException('Base url not configured.', 'Go to QFQ extension configuration in the Typo3 backend and fill in a value for config.baseUrl');
// Set log paths
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