summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-28 15:35:30 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-28 15:35:30 +0100
commit232cc3211b2b312d4e32e7d0fb482a2b7affe89a (patch)
tree7ce85f453c837717b3b4263b30a1f3c18f28fdf9 /lib/base.php
parentc9c919da5738f963247307ca3878e06beff87ade (diff)
downloadnextcloud-server-232cc3211b2b312d4e32e7d0fb482a2b7affe89a.tar.gz
nextcloud-server-232cc3211b2b312d4e32e7d0fb482a2b7affe89a.zip
add oc:// streamwrapper to provide access to ownCloud's virtual filesystem
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 45e2f633cb7..e6f00839aa2 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -424,6 +424,7 @@ class OC
stream_wrapper_register('fakedir', 'OC\Files\Stream\Dir');
stream_wrapper_register('static', 'OC\Files\Stream\StaticStream');
stream_wrapper_register('close', 'OC\Files\Stream\Close');
+ stream_wrapper_register('oc', 'OC\Files\Stream\OC');
self::checkConfig();
self::checkInstalled();