兼容windows下apache的pathinfo

pull/279748/MERGE^2
PPPSCN 2017-05-05 15:12:27 +08:00
parent a18ace7cf5
commit 716bb2e2c5
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@ thinkphp
vendor
runtime
public/assets/libs/
/application/admin/command/Install/*.lock
/public/uploads

View File

@ -4,5 +4,5 @@
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>