Skip to content
Snippets Groups Projects
Commit 01cecc83 authored by Robin Appelman's avatar Robin Appelman
Browse files

redirect index.php to files/webdav.php for webdav (PROPFIND) requests

parent 60a7a9d6
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,11 @@ elseif($not_installed OR $install_called) {
require_once('setup.php');
}
if($_SERVER['REQUEST_METHOD']=='PROPFIND'){//handle webdav
header('location: '.OC_Helper::linkTo('files','webdav.php'));
exit();
}
// Someone is logged in :
elseif(OC_User::isLoggedIn()) {
if(isset($_GET["logout"]) and ($_GET["logout"])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment