Fix loading by apptype in webdav
This commit is contained in:
parent
ef9511c713
commit
f991948a71
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue