summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-04-26 00:01:36 +0200
committerRobin Appelman <icewind@owncloud.com>2013-04-26 00:01:36 +0200
commit809b5f81f6ee448563462ae8f642fbb8a6a11499 (patch)
tree88f31a78a59d073b3731e00c26bb6ae05be032a5 /lib/util.php
parentbcd9a6903317a786f5f947374a8680130e4a8297 (diff)
downloadnextcloud-server-809b5f81f6ee448563462ae8f642fbb8a6a11499.tar.gz
nextcloud-server-809b5f81f6ee448563462ae8f642fbb8a6a11499.zip
Further seperation of mount management logic
Diffstat (limited to 'lib/util.php')
-rwxr-xr-xlib/util.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 810593358a5..f62c2a42d73 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -38,6 +38,7 @@ class OC_Util {
$CONFIG_DATADIRECTORY = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" );
//first set up the local "root" storage
+ \OC\Files\Filesystem::initMounts();
if(!self::$rootMounted) {
\OC\Files\Filesystem::mount('\OC\Files\Storage\Local', array('datadir'=>$CONFIG_DATADIRECTORY), '/');
self::$rootMounted=true;