summaryrefslogtreecommitdiffstats
path: root/adei/configs/config.actual.php
blob: 4c28e59ffab645fdd6bfdea0d647a923ede79251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
    function env($var, $default = false) {
	$env = getenv($var);
	if ($env === false) return $default;
	return $env;
    }

    $ADEI_SETUP = env("ADEI_SETUP", "all");

    $ADEI_RELEASE = true;
    $LOGGER_LOG_REQUESTS = false;
    $LOGGER_LOG_OUTPUT = false;
    $LOGGER_STORE_OBJECTS = false;

    $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")
    );
?>