Skip to content

Commit

Permalink
One More Fix for upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
NorHei committed Jun 18, 2017
1 parent 37c747d commit b896ea8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wbce/upgrade-script.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,11 @@ function status_msg($message, $class = 'check', $element = 'span')
*/
echo "<br />Adding default_theme to settings table<br />";
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'));



/**********************************************************
Expand Down

0 comments on commit b896ea8

Please sign in to comment.