1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/teampass_ynh.git synced 2024-09-03 20:26:37 +02:00
teampass_ynh/conf/settings.php

29 lines
717 B
PHP
Raw Normal View History

<?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__/");
2022-07-24 15:39:53 +02:00
if (isset($_SESSION['settings']['timezone']) === true) {
date_default_timezone_set($_SESSION['settings']['timezone']);
}
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
}