Sources/Security.php 1 location
|
@@ 116-117 (lines=2) @@
|
| 113 |
|
loadTheme(); |
| 114 |
|
|
| 115 |
|
// Never redirect to an attachment |
| 116 |
|
if (strpos($_SERVER['REQUEST_URL'], 'dlattach') === false) |
| 117 |
|
$_SESSION['login_url'] = $_SERVER['REQUEST_URL']; |
| 118 |
|
|
| 119 |
|
// Load the Login template and language file. |
| 120 |
|
loadLanguage('Login'); |
Sources/Subs-Auth.php 1 location
|
@@ 222-223 (lines=2) @@
|
| 219 |
|
createToken('login'); |
| 220 |
|
|
| 221 |
|
// Never redirect to an attachment |
| 222 |
|
if (strpos($_SERVER['REQUEST_URL'], 'dlattach') === false) |
| 223 |
|
$_SESSION['login_url'] = $_SERVER['REQUEST_URL']; |
| 224 |
|
|
| 225 |
|
$context['sub_template'] = 'kick_guest'; |
| 226 |
|
$context['page_title'] = $txt['login']; |