diff options
author | Andrew Dolgov <[email protected]> | 2007-09-20 03:57:53 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-09-20 03:57:53 +0100 |
commit | 741edab27a6fa0cf3ae11d98106eb2e05c7592f3 (patch) | |
tree | e77bf87a037a49c234fdb23d08522b577e91ee13 /functions.php | |
parent | 92952e25dc5d3dc4f2d7fdb0d0198e5924190291 (diff) |
validate_session: hotfix for SINGLE_USER_MODE
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 38b4d5ffe..163b4adda 100644 --- a/functions.php +++ b/functions.php @@ -1534,6 +1534,10 @@ } function validate_session($link) { + if (SINGLE_USER_MODE) { + return true; + } + if (SESSION_CHECK_ADDRESS && $_SESSION["uid"]) { if ($_SESSION["ip_address"]) { if ($_SESSION["ip_address"] != $_SERVER["REMOTE_ADDR"]) { |