https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6064916
)
r825: When logging out, redirect to the page that was last being viewed if we get...
author
Robert Sesek <rsesek@bluestatic.org>
Fri, 12 May 2006 02:20:13 +0000
(
02:20
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Fri, 12 May 2006 02:20:13 +0000
(
02:20
+0000)
login.php
patch
|
blob
|
history
diff --git
a/login.php
b/login.php
index cb9ad52d8274e24ec9c6a77a698463d0b2991f97..74d2c718c03563db31596e6d84a59131bb32e543 100755
(executable)
--- a/
login.php
+++ b/
login.php
@@
-99,7
+99,7
@@
if ($_REQUEST['do'] == 'logout')
$funct->cookie(COOKIE_PREFIX . 'userid');
$funct->cookie(COOKIE_PREFIX . 'authkey');
$funct->cookie(COOKIE_PREFIX . 'adminsession');
- $message->redirect($lang->string('You have been logged out.'),
'index.php'
);
+ $message->redirect($lang->string('You have been logged out.'),
($_SERVER['HTTP_REFERER'] ? $_SERVER['HTTP_REFERER'] : 'index.php')
);
}
else
{