新建 .htaccess

This commit is contained in:
聆听 2018-09-15 09:57:34 +08:00
parent 3e28aee589
commit 4f78d58044

10
.htaccess Normal file
View File

@ -0,0 +1,10 @@
RewriteEngine
on
#不显示index.php
RewriteCond %{REQUEST_FILENAME}
!-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1
[QSA,PT,L]