Guest User

config.neo

a guest
Apr 12th, 2012
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 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.  
  9. database:
  10. driver: mysql
  11. host: localhost
  12. database: wa
  13. username: wa
  14. password: wa
  15. profiler: TRUE
  16. charset: utf8
  17. lazy: TRUE #spojení se naváže až když je opravdu potřeba :)
  18.  
  19. php: # PHP configuration
  20. date.timezone: Europe/Prague
  21. # session.save_path: "%tempDir%/sessions"
  22. zlib.output_compression: yes
  23. default_charset: "UTF-8"
  24.  
  25. services:
  26.  
  27. database: @Nette\Database\Connection
  28.  
  29. authenticator:
  30. Authenticator( @users )
  31.  
  32. robotLoader:
  33. run: true
  34.  
  35. translator:
  36. factory: NetteTranslator\Gettext::getTranslator
  37.  
  38. variables:
  39. langDir: %appDir%/lang
  40. lang: cs_CZ
  41.  
  42. factories:
  43. users: Users
  44.  
  45.  
  46.  
  47. production < common:
  48.  
  49.  
  50. development < common:
Advertisement
Add Comment
Please, Sign In to add comment