remove the redundant install check
This commit is contained in:
parent
d4e00c7bde
commit
c410406922
@ -57,7 +57,7 @@ if(! $a->install) {
|
|||||||
load_translation_table($a->language);
|
load_translation_table($a->language);
|
||||||
// Force the cookie to be secure (https only) if this site is SSL enabled. Must be done before session_start().
|
// Force the cookie to be secure (https only) if this site is SSL enabled. Must be done before session_start().
|
||||||
|
|
||||||
if((! $a->install) && intval($a->config['system']['ssl_cookie_protection'])) {
|
if(intval($a->config['system']['ssl_cookie_protection'])) {
|
||||||
$arr = session_get_cookie_params();
|
$arr = session_get_cookie_params();
|
||||||
session_set_cookie_params(
|
session_set_cookie_params(
|
||||||
((isset($arr['lifetime'])) ? $arr['lifetime'] : 60*5),
|
((isset($arr['lifetime'])) ? $arr['lifetime'] : 60*5),
|
||||||
|
Reference in New Issue
Block a user