2015-12-06 12:49:32 +01:00
|
|
|
<?php
|
2022-07-24 15:39:53 +02:00
|
|
|
// DATABASE connexion parameters
|
|
|
|
define("DB_HOST", "localhost");
|
|
|
|
define("DB_USER", "__DB_USER__");
|
|
|
|
define("DB_PASSWD", "__DB_PWD__");
|
|
|
|
define("DB_NAME", "__DB_NAME__");
|
|
|
|
define("DB_PREFIX", "teampass_");
|
|
|
|
define("DB_PORT", "3306");
|
|
|
|
define("DB_ENCODING", "utf8");
|
|
|
|
define("DB_SSL", array(
|
|
|
|
"key" => "",
|
|
|
|
"cert" => "",
|
|
|
|
"ca_cert" => "",
|
|
|
|
"ca_path" => "",
|
|
|
|
"cipher" => ""
|
|
|
|
));
|
|
|
|
define("DB_CONNECT_OPTIONS", array(
|
|
|
|
MYSQLI_OPT_CONNECT_TIMEOUT => 10
|
|
|
|
));
|
|
|
|
define("SECUREPATH", "/etc/__APP__/");
|
2015-12-06 12:49:32 +01:00
|
|
|
|
2022-07-24 15:39:53 +02:00
|
|
|
if (isset($_SESSION['settings']['timezone']) === true) {
|
|
|
|
date_default_timezone_set($_SESSION['settings']['timezone']);
|
|
|
|
}
|
2015-12-06 12:49:32 +01:00
|
|
|
|
2022-07-04 21:15:54 +02:00
|
|
|
if (file_exists("/etc/__APP__/sk.php")) {
|
|
|
|
require_once "/etc/__APP__/sk.php";
|
2018-11-21 16:19:57 +01:00
|
|
|
}
|