Fix PHP notice.

1.10.x
jmontoyaa 9 years ago
parent e4bf363a7e
commit 6774bb2944
  1. 4
      main/install/index.php

@ -210,6 +210,9 @@ if ($installType == 'update' && in_array($my_old_version, $update_from_version_8
}
}
$session_lifetime = 360000;
if (!isset($_GET['running'])) {
$dbHostForm = 'localhost';
$dbUsernameForm = 'root';
@ -247,7 +250,6 @@ if (!isset($_GET['running'])) {
$allowSelfReg = 1;
$allowSelfRegProf = 1;
$encryptPassForm = 'sha1';
$session_lifetime = 360000;
if (!empty($_GET['profile'])) {
$installationProfile = api_htmlentities($_GET['profile'], ENT_QUOTES);
}

Loading…
Cancel
Save