Home  >  Article  >  Backend Development  >  详解ThinkPHP中的define('CONF_EXT','.ini')

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

PHP中文网
PHP中文网Original
2017-03-31 17:20:451418browse

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

ThinkPHP 里看到这句

 define('CONF_EXT','.ini')

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

回复:

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

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

Statement:
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