首页 > 后端开发 > php教程 > Zend Frame 配置信息实例

Zend Frame 配置信息实例

WBOY
发布: 2016-07-25 09:11:19
原创
1012 人浏览过
  1. [production]
  2. ; logs
  3. resources.log.stream.writerName = "Stream"
  4. resources.log.stream.writerParams.stream = APPLICATION_PATH "/../data/logs/production.log"
  5. resources.log.stream.writerParams.mode = "a"
  6. ; sessions
  7. resources.session.save_path = APPLICATION_PATH "/../data/sessions"
  8. resources.session.use_only_cookies = 1
  9. resources.session.remember_me_seconds = 864000
  10. ; router setting
  11. resources.router.routes.signup.type = "Zend_Controller_Router_Route_Static"
  12. resources.router.routes.signup.route = "signup"
  13. resources.router.routes.signup.defaults.module = "core"
  14. resources.router.routes.signup.defaults.controller = "home"
  15. resources.router.routes.signup.defaults.action = "sign-up"
  16. resources.router.routes.signup_success.type = "Zend_Controller_Router_Route_Static"
  17. resources.router.routes.signup_success.route = "signup/success"
  18. resources.router.routes.signup_success.defaults.module = "core"
  19. resources.router.routes.signup_success.defaults.controller = "home"
  20. resources.router.routes.signup_success.defaults.action = "sign-up-success"
  21. phpSettings.display_startup_errors = 1
  22. phpSettings.display_errors = 1
  23. includePaths.library = APPLICATION_PATH "/../library"
  24. bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
  25. bootstrap.class = "Bootstrap"
  26. appnamespace = "Application"
  27. resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
  28. resources.frontController.params.displayExceptions = 0
  29. resources.layout.layoutPath = APPLICATION_PATH "/views/scripts"
  30. resources.view[] =
  31. ;db
  32. resources.db.adapter = "PDO_MYSQL"
  33. resources.db.params.host = 127.0.0.1
  34. resources.db.params.dbname = blog
  35. resources.db.params.username = root
  36. resources.db.params.password =
  37. resources.db.params.charset = utf8
  38. [staging : production]
  39. [testing : production]
  40. phpSettings.display_startup_errors = 1
  41. phpSettings.display_errors = 1
  42. [development : production]
  43. phpSettings.display_startup_errors = 1
  44. phpSettings.display_errors = 1
  45. resources.frontController.params.displayExceptions = 1
复制代码


来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板