|
@@ -58,7 +58,7 @@ |
|
|
block discarded – undo |
|
58
|
58
|
|
|
59
|
59
|
// Get the data and path to set it on. |
|
60
|
60
|
$cookie_url = url_parts(!empty($modSettings['localCookies']), !empty($modSettings['globalCookies'])); |
|
61
|
|
- $dataAr = empty($id) ? array(0, '', 0, 'path' => $cookie_url[1]) : array($id, $password, time() + $cookie_length, $cookie_state,'path' => $cookie_url[1]); |
|
|
61
|
+ $dataAr = empty($id) ? array(0, '', 0, 'path' => $cookie_url[1]) : array($id, $password, time() + $cookie_length, $cookie_state, 'path' => $cookie_url[1]); |
|
62
|
62
|
$data = $smcFunc['json_encode']($dataAr); |
|
63
|
63
|
|
|
64
|
64
|
// Set the cookie, $_COOKIE, and session variable. |
Please login to merge, or discard this patch.