diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-02-22 16:22:17 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-02-22 16:22:17 +0100 |
commit | 733b1e4c50e5943de559778330061ed803070e1c (patch) | |
tree | da5bb6163b7a1b6e967616bba241fbb3b7c8e861 /adei/configs/config.actual.php | |
parent | 521d7e938779e7d3a94aefa35c6e429aed1c3946 (diff) | |
download | adei-733b1e4c50e5943de559778330061ed803070e1c.tar.gz adei-733b1e4c50e5943de559778330061ed803070e1c.tar.bz2 adei-733b1e4c50e5943de559778330061ed803070e1c.tar.xz adei-733b1e4c50e5943de559778330061ed803070e1c.zip |
Support more parameters from environment
Diffstat (limited to 'adei/configs/config.actual.php')
-rw-r--r-- | adei/configs/config.actual.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/adei/configs/config.actual.php b/adei/configs/config.actual.php index 4c28e59..f4f4a99 100644 --- a/adei/configs/config.actual.php +++ b/adei/configs/config.actual.php @@ -7,10 +7,10 @@ $ADEI_SETUP = env("ADEI_SETUP", "all"); - $ADEI_RELEASE = true; - $LOGGER_LOG_REQUESTS = false; - $LOGGER_LOG_OUTPUT = false; - $LOGGER_STORE_OBJECTS = false; + $ADEI_RELEASE = filter_var(env("ADEI_RELEASE", true), FILTER_VALIDATE_BOOLEAN); + $LOGGER_LOG_REQUESTS = filter_var(env("ADEI_WRITE_LOGS", false), FILTER_VALIDATE_BOOLEAN); + $LOGGER_LOG_OUTPUT = filter_var(env("ADEI_WRITE_LOGS", false), FILTER_VALIDATE_BOOLEAN); + $LOGGER_STORE_OBJECTS = filter_var(env("ADEI_DEBUG", false), FILTER_VALIDATE_BOOLEAN); $ADEI_DB = array ( "host" => env("MYSQL_SERVER", "localhost"), @@ -19,4 +19,6 @@ "user" => env("MYSQL_USER", "adei"), "password" => env("MYSQL_PASSWORD", "adei") ); -?>
\ No newline at end of file + + $ADEI_CACHE_SCHEDULER = filter(env("ADEI_SCHEDULER", false), FILTER_VALIDATE_BOOLEAN); +?> |