Skip to content
Snippets Groups Projects
Commit 347ce2aa authored by Michiel de Jong's avatar Michiel de Jong
Browse files

match setup script to .htaccess from repo

parent f0362dbf
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment