<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ ?index.php/$1 [QSA,PT,L]
</IfModule>
在public 目录下的.htaccess文件的index.php前面或者后面加?
tp5隐藏index.php
最新推荐文章于 2023-10-08 15:30:32 发布