diff options
author | Michiel de Jong <michiel@unhosted.org> | 2012-05-11 17:30:27 +0200 |
---|---|---|
committer | Michiel de Jong <michiel@unhosted.org> | 2012-05-11 17:30:27 +0200 |
commit | 347ce2aafada161849dad8593100c40e14c641ce (patch) | |
tree | fd8b3c0cab0c918ae1be7ef400e1d0323216f08c /lib/setup.php | |
parent | f0362dbf58b5df33c5a430587dd6970bb48d3a30 (diff) | |
download | nextcloud-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.php | 2 |
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 |