'URL_MODEL' => 2, // URL访问模式,可选参数0、1、2、3,代表以下四种模式:三、在入口文件index.php处创建.htaccess文件,添加一下内容
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] </IfModule>四、重启apache即可
以上就是thinkphp怎么隐藏.php的详细内容!
查看更多关于thinkphp怎么隐藏.php的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did52942
thinkphp怎么隐藏.php
阅读:46次