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"]) {