Browse Source

Fix loading by apptype in webdav

Bart Visscher 14 years ago
parent
commit
f991948a71
  1. 5
      apps/files/appinfo/remote.php
  2. 5
      files/webdav.php
  3. 2
      lib/app.php

5
apps/files/appinfo/remote.php

@ -25,12 +25,9 @@
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
require_once('../lib/base.php');
// only need filesystem apps
$RUNTIME_APPTYPES=array('filesystem','authentication');
require_once('../lib/base.php');
// Backends
$authBackend = new OC_Connector_Sabre_Auth();

5
files/webdav.php

@ -25,12 +25,9 @@
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
require_once('../lib/base.php');
// only need filesystem apps
$RUNTIME_APPTYPES=array('filesystem','authentication');
require_once('../lib/base.php');
// Backends
$authBackend = new OC_Connector_Sabre_Auth();

2
lib/app.php

@ -49,7 +49,7 @@ class OC_App{
* if $types is set, only apps of those types will be loaded
*/
public static function loadApps($types=null){
// Did we allready load everything?
// Did we already load everything?
if( self::$init ){
return true;
}

Loading…
Cancel
Save