Fix loading by apptype in webdav

This commit is contained in:
Bart Visscher 2012-05-05 21:58:07 +02:00
parent ef9511c713
commit f991948a71
3 changed files with 3 additions and 9 deletions

View File

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

View File

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

View File

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