mirror of https://gitee.com/karson/fastadmin.git
兼容windows下apache的pathinfo
parent
a18ace7cf5
commit
716bb2e2c5
|
|
@ -6,3 +6,5 @@ thinkphp
|
||||||
vendor
|
vendor
|
||||||
runtime
|
runtime
|
||||||
public/assets/libs/
|
public/assets/libs/
|
||||||
|
/application/admin/command/Install/*.lock
|
||||||
|
/public/uploads
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
|
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue