]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix loading by apptype in webdav
authorBart Visscher <bartv@thisnet.nl>
Sat, 5 May 2012 19:58:07 +0000 (21:58 +0200)
committerBart Visscher <bartv@thisnet.nl>
Sat, 5 May 2012 19:58:10 +0000 (21:58 +0200)
apps/files/appinfo/remote.php
files/webdav.php
lib/app.php

index 3ac0023fb848faa41fdd027e780fc077269d5c2e..defb97ab152ef8ed451661884c94bcb141e2e81b 100644 (file)
 
 // 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();
index 3ed687041ca7785cbac8654854252ac1765ca807..7624ccbbc72db0832d79e6c577fe51d2205773cd 100644 (file)
 
 // 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();
index c8d3826bca50f9c7590dc35b036dc13258dbdd49..f274194b25cab8457c6018eabb8cbe3ccb5a2ca5 100644 (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;
                }