summaryrefslogtreecommitdiffstats
path: root/adei/configs/config.actual.php
diff options
context:
space:
mode:
Diffstat (limited to 'adei/configs/config.actual.php')
-rw-r--r--adei/configs/config.actual.php12
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);
+?>