From b896ea89bf3cefc1e9dcf8b58fd68af5b09405f8 Mon Sep 17 00:00:00 2001 From: NorHei Date: Sun, 18 Jun 2017 17:35:41 +0200 Subject: [PATCH] One More Fix for upgrade --- wbce/upgrade-script.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wbce/upgrade-script.php b/wbce/upgrade-script.php index 5e93a0d96..3d64d0e34 100644 --- a/wbce/upgrade-script.php +++ b/wbce/upgrade-script.php @@ -363,7 +363,11 @@ function status_msg($message, $class = 'check', $element = 'span') */ echo "
Adding default_theme to settings table
"; Settings::Set('default_theme', $DEFAULT_THEME); -Settings::Set('wb_session_timeout', WB_SECFORM_TIMEOUT); +if (defined("WB_SECFORM_TIMEOUT")) + Settings::Set('wb_secform_timeout', '7200'); +if (defined("WB_SEESSION_TIMEOUT")) + Settings::Set('wb_session_timeout', Settings::GetDb('wb_secform_timeout')); + /**********************************************************