summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/index.php b/index.php
index 46dc990af68..4520f40107e 100644
--- a/index.php
+++ b/index.php
@@ -38,6 +38,12 @@ if(count($errors) > 0) {
// Setup required :
elseif($not_installed OR $install_called) {
require_once('setup.php');
+ exit();
+}
+
+if($_SERVER['REQUEST_METHOD']=='PROPFIND'){//handle webdav
+ header('location: '.OC_Helper::linkTo('files','webdav.php'));
+ exit();
}
// Someone is logged in :