diff options
author | Andrew Dolgov <[email protected]> | 2012-12-07 09:36:14 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-07 09:36:14 +0400 |
commit | 61a748f87ffa90359147ed6a3f20ee11603bf0d2 (patch) | |
tree | d4cb89c6f594d93bae9a1cdff62b5e9c16babcd3 /classes/handler/public.php | |
parent | d5e9cf28f150e320bff705d476697483952cd785 (diff) |
fix sharepopup/subscribe public handler actions in single user mode
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r-- | classes/handler/public.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index f2a7730c8..4474182cc 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -377,6 +377,10 @@ class Handler_Public extends Handler { } function sharepopup() { + if (SINGLE_USER_MODE) { + login_sequence($this->link); + } + header('Content-Type: text/html; charset=utf-8'); print "<html> <head> @@ -542,6 +546,10 @@ class Handler_Public extends Handler { } function subscribe() { + if (SINGLE_USER_MODE) { + login_sequence($this->link); + } + if ($_SESSION["uid"]) { $feed_url = db_escape_string(trim($_REQUEST["feed_url"])); |