diff options
author | Simon Rettberg | 2016-01-07 10:34:54 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-01-07 10:34:54 +0100 |
commit | 87e301ed0b46732715263654817df73686592d86 (patch) | |
tree | 4f1e122c5f89962af5e6e27e41016bb7e7a6b76e | |
parent | [statistics] Add visualization of usage (diff) | |
download | slx-admin-87e301ed0b46732715263654817df73686592d86.tar.gz slx-admin-87e301ed0b46732715263654817df73686592d86.tar.xz slx-admin-87e301ed0b46732715263654817df73686592d86.zip |
[api/getconfig] Add support for external additional config generator script
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | apis/getconfig.inc.php | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -4,4 +4,4 @@ *.swp nbproject/ /config.php - +/client_config_additional.php diff --git a/apis/getconfig.inc.php b/apis/getconfig.inc.php index be35f5f3..5d5dbca8 100644 --- a/apis/getconfig.inc.php +++ b/apis/getconfig.inc.php @@ -46,3 +46,7 @@ if (is_array($vmstore)) { break; } } + +// 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')) @include('client_config_additional.php');
\ No newline at end of file |