详解ThinkPHP中的define('CONF_EXT','.ini')

PHP中文网
Release: 2023-02-28 11:04:02
Original
1424 people have browsed it

详解ThinkPHP中的define('CONF_EXT','.ini')

ThinkPHP 里看到这句

 define('CONF_EXT','.ini')
Copy after login

我自己测试,怎么执行访问localhost/index.php后,,这个配置文件并没有变成后缀ini的文件啊??

回复:

这只是定义了一个常量,变没有说会帮你改变文件的后缀。

 以上就是详解ThinkPHP中的define('CONF_EXT','.ini')的内容,更多相关内容请关注PHP中文网(www.php.cn)!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!