From 232cc3211b2b312d4e32e7d0fb482a2b7affe89a Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 28 Jan 2013 15:35:30 +0100 Subject: add oc:// streamwrapper to provide access to ownCloud's virtual filesystem --- lib/base.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/base.php') 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(); -- cgit v1.2.3