Merge pull request #27 from halkyon/htaccess_fix

Fixing .htaccess to ignore rewriting PHP files directly
This commit is contained in:
Sean Harvey 2013-01-06 17:24:55 -08:00
commit 5d78b046bb

View File

@ -23,6 +23,7 @@ ErrorDocument 500 /assets/error-500.html
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\.php$
RewriteRule .* framework/main.php?url=%1 [QSA]
RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$