thinkphp U标签去掉生成的index.php

时间:2022-09-24 16:42:35

thinkphp U标签去掉生成的index.php

ThinkPHP/Conf/convertion.php

    配置修改 URL_MODEL => 2


thinkphp U标签去掉生成的.html后缀

ThinkPHP/Conf/convertion.php

    'URL_HTML_SUFFIX'       =>  '',  // URL伪静态后缀设置