diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-02-23 02:11:06 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-02-23 02:11:06 +0100 |
commit | b81418759a81dd1e3064a6a5975271277d5c51c8 (patch) | |
tree | 15126dcb07609df7b75141842a4f2b3cb3dbe350 /adei/configs/config.actual.php | |
parent | 56bca63e5daf375f13500c0a79f2ddf2b678769d (diff) | |
download | adei-b81418759a81dd1e3064a6a5975271277d5c51c8.tar.gz adei-b81418759a81dd1e3064a6a5975271277d5c51c8.tar.bz2 adei-b81418759a81dd1e3064a6a5975271277d5c51c8.tar.xz adei-b81418759a81dd1e3064a6a5975271277d5c51c8.zip |
Save session variables in writable /tmp folder
Diffstat (limited to 'adei/configs/config.actual.php')
-rw-r--r-- | adei/configs/config.actual.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/adei/configs/config.actual.php b/adei/configs/config.actual.php index f4f4a99..acb6c35 100644 --- a/adei/configs/config.actual.php +++ b/adei/configs/config.actual.php @@ -1,24 +1,2 @@ <?php - function env($var, $default = false) { - $env = getenv($var); - if ($env === false) return $default; - return $env; - } - - $ADEI_SETUP = env("ADEI_SETUP", "all"); - - $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"), - "port" => env("MYSQL_PORT", 0), - "database" => env("MYSQL_DATABASE", "adei"), - "user" => env("MYSQL_USER", "adei"), - "password" => env("MYSQL_PASSWORD", "adei") - ); - - $ADEI_CACHE_SCHEDULER = filter(env("ADEI_SCHEDULER", false), FILTER_VALIDATE_BOOLEAN); ?> |