go away if method is not implemented

This commit is contained in:
Mario
2023-01-03 13:30:53 +00:00
parent da9349ea62
commit d2edef5c5a

View File

@@ -122,10 +122,10 @@ class Cloud extends Controller {
\App::$page['content'] = '<h2>403 Forbidden</h2>';
}
elseif($err instanceof \Sabre\DAV\Exception\NotImplemented) {
\App::$page['content'] = '<h2>501 Not implemented</h2>';
goaway(z_root() . '/' . \App::$query_string);
}
else {
\App::$page['content'] = '<h2>500 Unknown error</h2>';
\App::$page['content'] = '<h2>Unknown error</h2>';
}
construct_page();