diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-11-22 14:00:08 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-11-22 14:00:08 +0100 |
commit | 2cc0c90015aca5ea287dadd8c0edc3925a573426 (patch) | |
tree | fa167c6073e5edc6207f2f3c415e08ec09714a64 /public.php | |
parent | 7e4f50d4e385e1d55b7839146a82dd48cb657c2a (diff) | |
download | nextcloud-server-2cc0c90015aca5ea287dadd8c0edc3925a573426.tar.gz nextcloud-server-2cc0c90015aca5ea287dadd8c0edc3925a573426.zip |
set incognito mode for public.php calls. Because in this case ownCloud should always work the same way as if no user is logged in
Diffstat (limited to 'public.php')
-rw-r--r-- | public.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public.php b/public.php index 1781632bc78..203372fe1ea 100644 --- a/public.php +++ b/public.php @@ -20,6 +20,7 @@ try { OC_Util::checkAppEnabled($app); OC_App::loadApp($app); + OC_User::setIncognitoMode(true); require_once OC_App::getAppPath($app) .'/'. $parts[1]; |