Guest User

Untitled

a guest
Feb 7th, 2012
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. #
  2. # SECURITY WARNING: it is CRITICAL that this file & directory are NOT accessible directly via a web browser!
  3. #
  4. # If you don't protect this directory from direct web access, anybody will be able to see your passwords.
  5. # http://nette.org/security-warning
  6. #
  7. common:
  8. parameters:
  9. database:
  10. driver: mysql
  11. host: localhost
  12. database: nette_db
  13. username: root
  14. password: 123456
  15. lazy: TRUE #s db se pracuje az kdyz je potreba
  16. profiler: TRUE #debug panel
  17.  
  18. php:
  19. date.timezone: Europe/Prague
  20. # session.save_path: "%tempDir%/sessions"
  21. # zlib.output_compression: yes
  22.  
  23.  
  24. nette:
  25. session:
  26. autoStart: smart
  27.  
  28. # database:
  29. # default:
  30. # dsn: '%database.driver%:host=%database.host%;database=%database.database%'
  31. # user: %database.username%
  32. # password: %database.password%
  33.  
  34. services:
  35. connection:
  36. class: DibiConnection(%database%)
  37.  
  38. novinky:
  39. class: Model\Novinky(@connection)
  40.  
  41. authenticator: Authenticator(DibiConnection(%database%))
  42. factories:
  43.  
  44.  
  45. production < common:
  46.  
  47. development < common:
Advertisement
Add Comment
Please, Sign In to add comment