mirror of
https://github.com/YunoHost-Apps/teampass_ynh.git
synced 2024-09-03 20:26:37 +02:00
28 lines
717 B
PHP
28 lines
717 B
PHP
<?php
|
|
// 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__/");
|
|
|
|
if (isset($_SESSION['settings']['timezone']) === true) {
|
|
date_default_timezone_set($_SESSION['settings']['timezone']);
|
|
}
|
|
|
|
if (file_exists("/etc/__APP__/sk.php")) {
|
|
require_once "/etc/__APP__/sk.php";
|
|
}
|