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 ...
$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();

View File

@ -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();

View File

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