diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-07-22 16:07:19 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-07-22 16:19:12 +0200 |
| commit | a3da1483a9e689846179159355badfec8073dbec (patch) | |
| tree | 770dcca6bdf5f6f2a11b0e7fcbbeda6919a3fc52 /tests/configuration.php | |
current code from svn, revision 62608
Diffstat (limited to 'tests/configuration.php')
| -rw-r--r-- | tests/configuration.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/configuration.php b/tests/configuration.php new file mode 100644 index 0000000..f2ea461 --- /dev/null +++ b/tests/configuration.php @@ -0,0 +1,11 @@ +<?php + +return (function ($filename) { + if (file_exists($filename)) { + require_once $filename; + + return compact('DB_STUDIP_HOST', 'DB_STUDIP_USER', 'DB_STUDIP_PASSWORD', 'DB_STUDIP_DATABASE'); + } + + return []; +})(dirname(__DIR__).'/config/config_local.inc.php'); |
