Skip to content
Snippets Groups Projects
Commit 1dbaac0a authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3202

Closes #3202

Merge request studip/studip!2168
parent 2330d5f3
No related branches found
No related tags found
No related merge requests found
......@@ -74,13 +74,18 @@ StudipAutoloader::addClassLookup(
);
// load config-variables
$added_configs = [];
StudipFileloader::load(
'config_defaults.inc.php config_local.inc.php',
$GLOBALS,
$added_configs,
compact('STUDIP_BASE_PATH', 'ABSOLUTE_URI_STUDIP', 'ASSETS_URL', 'CANONICAL_RELATIVE_PATH_STUDIP'),
true
);
foreach ($added_configs as $key => $value) {
$GLOBALS[$key] = $value;
}
$config = Symfony\Component\Yaml\Yaml::parseFile(__DIR__ .'/../unit.suite.yml');
// connect to database if configured
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment