blob: 350c6173a70635c46f819697cc140de536e0beb9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
/*
* We gather all config variables here. First, let other modules generate
* their desired config vars. Afterwards, add the global config vars from
* db. If a variable is already set, it will not be overridden by the
* global setting.
*/
// Prepare ConfigHolder from request data
BaseConfig::prepareFromRequest();
ConfigHolder::add('SLX_NOW', time(), PHP_INT_MAX);
// All done, now output
ConfigHolder::applyPostHooks();
ConfigHolder::outputConfig();
// For quick testing or custom extensions: Include external file that should do nothing
// more than outputting more key-value-pairs. It's expected in the webroot of slxadmin
if (file_exists('client_config_additional.php')) {
echo "########## client_config_additional.php:\n";
@include('client_config_additional.php');
}
|