summaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-01-31 12:44:01 +0100
committerRobin Appelman <icewind@owncloud.com>2012-01-31 12:44:01 +0100
commit803f86e0fcd77e3888daa387142fd197083d5fd3 (patch)
tree8ea11a5473db7b03359d62ece0a51887cd8cbe74 /lib/filesystem.php
parentffecc3e4341102714a89ab6b5643c666c1feb0ee (diff)
downloadnextcloud-server-803f86e0fcd77e3888daa387142fd197083d5fd3.tar.gz
nextcloud-server-803f86e0fcd77e3888daa387142fd197083d5fd3.zip
dont try to use the filesystem when it isnt setup yet
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 60d3f56a24c..8502cfc08bb 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -47,6 +47,7 @@ class OC_Filesystem{
static private $storages=array();
static private $mounts=array();
static private $storageTypes=array();
+ public static $loaded=false;
private $fakeRoot='';
static private $defaultInstance;
@@ -200,6 +201,7 @@ class OC_Filesystem{
return false;
}
self::$defaultInstance=new OC_FilesystemView($root);
+ self::$loaded=true;
}
/**