diff options
author | friendica <info@friendica.com> | 2014-01-16 13:26:39 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-16 13:26:39 -0800 |
commit | 359d7980292490da370e49b5f3583d801157b5b7 (patch) | |
tree | 79bb5c979e533c2f8b2d35b901704263fe8efc3e /mod/cloud.php | |
parent | be6a16139c422b95f26080f4d0effecc0ed19515 (diff) | |
download | volse-hubzilla-359d7980292490da370e49b5f3583d801157b5b7.tar.gz volse-hubzilla-359d7980292490da370e49b5f3583d801157b5b7.tar.bz2 volse-hubzilla-359d7980292490da370e49b5f3583d801157b5b7.zip |
kill the ummagumma effect
Diffstat (limited to 'mod/cloud.php')
-rw-r--r-- | mod/cloud.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/cloud.php b/mod/cloud.php index 82b570380..2db7682ef 100644 --- a/mod/cloud.php +++ b/mod/cloud.php @@ -65,6 +65,10 @@ function cloud_init(&$a) { } + $_SERVER['QUERY_STRING'] = str_replace(array('?f=','&f='),array('',''),$_SERVER['QUERY_STRING']); + $_SERVER['QUERY_STRING'] = preg_replace('/[\?&]zid=(.*?)([\?&]|$)/ism','',$_SERVER['QUERY_STRING']); + + $rootDirectory = new RedDirectory('/',$auth); $server = new DAV\Server($rootDirectory); $lockBackend = new DAV\Locks\Backend\File('store/data/locks'); @@ -82,8 +86,6 @@ function cloud_init(&$a) { $auth->setBrowserPlugin($browser); - $_SERVER['QUERY_STRING'] = str_replace(array('?f=','&f='),array('',''),$_SERVER['QUERY_STRING']); - $_SERVER['QUERY_STRING'] = preg_replace('/[\?&]zid=(.*?)([\?&]|$)/ism','',$_SERVER['QUERY_STRING']); $server->addPlugin($browser); |