application.ini 是什么意思,怎么用的? - PHP框架开发
application.ini[production]phpSettings.display_startup_errors=0phpSettings.display_er...
application.ini[production]phpSettings.display_startup_errors = 0phpSettings.display_errors = 0includePaths.library = APPLICATION_PATH \"/../library\"bootstrap.path = APPLICATION_PATH \"/Bootstrap.php\"bootstrap.class = \"Bootstrap\"resources.frontController.controllerDirectory = APPLICATION_PATH \"/controllers\"[staging : production][testing : production]phpSettings.display_startup_errors = 1phpSettings.display_errors = 1[development : production]phpSettings.display_startup_errors = 1phpSettings.display_errors = 1看样子是几个环境,究竟是怎样用的?
展开
1个回答
2013-07-24
展开全部
Zend_Application 中的配置文件$application = new Zend_Application(? ? APPLICATION_ENV,? ? \'application.ini\');APPLICATION_ENV 可以是 production,staging ,testing ,development 中的任意值。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询