Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Symfony 框架开发一个开源应用程序(OrangeHRM)。如何将项目的环境从生产环境更改为开发环境?
只需使用 frontend_dev.php 名称复制 index.php 并更改配置行,如下所示:
$configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', true);
之后只需访问您的项目http://domain.com/frontend_dev.php
http://domain.com/frontend_dev.php