Zend Frame 配置信息实例

WBOY
Freigeben: 2016-07-25 09:11:19
Original
948 Leute haben es durchsucht
  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
复制代码


Verwandte Etiketten:
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage