Merge branch '2615-Bug_Session_Timeout' into 'develop'

fixed minor error session

See merge request artica/pandorafms!2000
This commit is contained in:
vgilc 2018-11-21 09:41:59 +01:00
commit 0344a5c2b0
1 changed files with 2 additions and 2 deletions

View File

@ -176,12 +176,12 @@ date_default_timezone_set("Europe/Madrid");
////////////////////////////////////// //////////////////////////////////////
require_once ($config["homedir"].'/include/load_session.php'); require_once ($config["homedir"].'/include/load_session.php');
if (empty(session_id())) session_start(); if (session_id() == '') session_start();
config_process_config(); config_process_config();
config_prepare_session(); config_prepare_session();
// Set a the system timezone default // Set a the system timezone default
if ((!isset($config["timezone"])) OR ($config["timezone"] == "")) { if ((!isset($config["timezone"])) OR ($config["timezone"] == "")) {
$config["timezone"] = "Europe/Berlin"; $config["timezone"] = "Europe/Berlin";
} }