summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-05-07 20:22:55 +0200
committerBart Visscher <bartv@thisnet.nl>2012-05-07 21:47:14 +0200
commit4dbc2093c680bebaa42f230937be88a58984c5bd (patch)
treef0d51daac5376fadab5d8f1147926842485af836 /index.php
parent9b5e0bebefd6c30c819d9830e79f3c07f0231d42 (diff)
downloadnextcloud-server-4dbc2093c680bebaa42f230937be88a58984c5bd.tar.gz
nextcloud-server-4dbc2093c680bebaa42f230937be88a58984c5bd.zip
Create a function for linking to remote.php
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index b0b77969c57..5d5307065bd 100644
--- a/index.php
+++ b/index.php
@@ -44,7 +44,7 @@ if($not_installed) {
// Handle WebDAV
if($_SERVER['REQUEST_METHOD']=='PROPFIND'){
- header('location: '.OC_Helper::linkToAbsolute('remote.php','webdav/'));
+ header('location: '.OC_Helper::linkToRemote('webdav'));
exit();
}