Skip to content

Commit

Permalink
Merge pull request #6 from fizbin/master
Browse files Browse the repository at this point in the history
Use (?s) option in RewriteRules
  • Loading branch information
ninjapanzer authored Aug 13, 2017
2 parents 01a8107 + 6109d60 commit 7b473ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>
RewriteRule ((?s).*) public/$1 [L]
</IfModule>
2 changes: 1 addition & 1 deletion public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ AddDefaultCharset UTF-8
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L]
RewriteRule ^((?s).*)$ index.php?_url=/$1 [QSA,L]
</IfModule>

0 comments on commit 7b473ee

Please sign in to comment.