Thinkphp 伪静态url取值?xxx=xxx
不知道各位有没有遇到过
‘URL_MODEL’ => 2,
之后Thinkphp url无法取值
如www.xxx.com/?xxx=xxx
然后不管是$_GET[‘xxx’]还是I:()都无法取值
伪静态文件
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>