Browse Source

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

tags/v6.0.0RC1
Bjoern Schiessle 10 years ago
parent
commit
2cc0c90015
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      public.php

+ 1
- 0
public.php View File

@@ -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];


Loading…
Cancel
Save