summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.php b/index.php
index 46dc990af68..a804a25d95b 100644
--- a/index.php
+++ b/index.php
@@ -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"])) {