【发布时间】:2019-11-19 09:59:35
【问题描述】:
我在本地有一个 Codeigniter 3.1.7 项目,我的服务器上有一个相同的项目用于环境测试。
在本地我可以通过以下方式启动命令:
php index.php manage save_existing_documents
它有效! 但在测试中,codeigniter 工作正常, 除了命令行^^ 他给我看:
The configuration file does not exist
然而 config.php 文件在 application/config/testing/config.php^^
文件夹 testing 是一个符号链接,它适用于项目的其余部分
感谢您的帮助!
【问题讨论】:
-
你如何加载该配置文件?
标签: php command-line codeigniter-3