Home > Backend Development > PHP Tutorial > Zend Frame configuration information example

Zend Frame configuration information example

WBOY
Release: 2016-07-25 09:11:19
Original
1001 people have browsed it
  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
复制代码


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template