Yes is no and no is yes ...

pull/2197/head
Michael Vogel 7 years ago
parent 61956e1098
commit 5b94c4fe41
  1. 4
      include/auth.php

@ -209,12 +209,12 @@ else {
}
function new_cookie($time) {
if (get_config('system', 'disable_database_session'))
if (!get_config('system', 'disable_database_session'))
$old_sid = session_id();
session_set_cookie_params($time);
if (get_config('system', 'disable_database_session')) {
if (!get_config('system', 'disable_database_session')) {
session_regenerate_id(false);
q("UPDATE session SET sid = '%s' WHERE sid = '%s'", dbesc(session_id()), dbesc($old_sid));
}

Loading…
Cancel
Save