首頁  >  文章  >  後端開發  >  Zend Frame 設定資訊實例

Zend Frame 設定資訊實例

WBOY
WBOY原創
2016-07-25 09:11:19943瀏覽
  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
复制代码


陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
上一篇:驗證碼檔案類下一篇:驗證碼檔案類