kill the ummagumma effect
This commit is contained in:
parent
be6a16139c
commit
359d798029
@ -89,7 +89,7 @@ function chanview_content(&$a) {
|
|||||||
|
|
||||||
// let somebody over-ride the iframed viewport presentation
|
// let somebody over-ride the iframed viewport presentation
|
||||||
|
|
||||||
if(local_user() && get_pconfig(local_user(),'system','chanview_full'))
|
if((! local_user()) || (get_pconfig(local_user(),'system','chanview_full')))
|
||||||
goaway($url);
|
goaway($url);
|
||||||
|
|
||||||
$o = replace_macros(get_markup_template('chanview.tpl'),array(
|
$o = replace_macros(get_markup_template('chanview.tpl'),array(
|
||||||
|
@ -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);
|
$rootDirectory = new RedDirectory('/',$auth);
|
||||||
$server = new DAV\Server($rootDirectory);
|
$server = new DAV\Server($rootDirectory);
|
||||||
$lockBackend = new DAV\Locks\Backend\File('store/data/locks');
|
$lockBackend = new DAV\Locks\Backend\File('store/data/locks');
|
||||||
@ -82,8 +86,6 @@ function cloud_init(&$a) {
|
|||||||
|
|
||||||
$auth->setBrowserPlugin($browser);
|
$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);
|
$server->addPlugin($browser);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user