aboutsummaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
authorMichiel de Jong <michiel@unhosted.org>2012-05-11 17:30:27 +0200
committerMichiel de Jong <michiel@unhosted.org>2012-05-11 17:30:27 +0200
commit347ce2aafada161849dad8593100c40e14c641ce (patch)
treefd8b3c0cab0c918ae1be7ef400e1d0323216f08c /lib/setup.php
parentf0362dbf58b5df33c5a430587dd6970bb48d3a30 (diff)
downloadnextcloud-server-347ce2aafada161849dad8593100c40e14c641ce.tar.gz
nextcloud-server-347ce2aafada161849dad8593100c40e14c641ce.zip
match setup script to .htaccess from repo
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 61ed6d78ae4..1929256b6ce 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -324,8 +324,6 @@ class OC_Setup {
$content.= "RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]\n";
$content.= "RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]\n";
$content.= "RewriteRule ^remote/(.*) remote.php [QSA,L]\n";
- $content.= "RewriteRule ^.well-known/carddav /apps/contacts/carddav.php [R]\n";
- $content.= "RewriteRule ^.well-known/caldav /apps/calendar/caldav.php [R]\n";
$content.= "</IfModule>\n";
$content.= "Options -Indexes\n";
@file_put_contents(OC::$SERVERROOT.'/.htaccess', $content); //supress errors in case we don't have permissions for it