Advertisement
Guest User

Untitled

a guest
Apr 6th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 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. dbname: test
  13. user:
  14. password:
  15.  
  16.  
  17. php:
  18. date.timezone: Europe/Prague
  19. # session.save_path: "%tempDir%/sessions"
  20. # zlib.output_compression: yes
  21.  
  22.  
  23. nette:
  24. session:
  25. expiration: '+ 30 days'
  26.  
  27. database:
  28. default:
  29. dsn: '%database.driver%:host=%database.host%;dbname=%database.dbname%'
  30. user: %database.user%
  31. password: %database.password%
  32.  
  33.  
  34. services:
  35. database: @Nette\Database\Connection
  36.  
  37. authenticator: Authenticator( @database::table(users) )
  38.  
  39.  
  40.  
  41. factories:
  42. fbToolsScript:
  43. class: \components\FbTools\Script
  44. likebutton:
  45. class: \components\FbTools\LikeButton
  46. setup:
  47. - setUrl('http://www.mojestranka.cz')
  48. - setWidth(150)
  49.  
  50.  
  51.  
  52. production < common:
  53.  
  54. development < common:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement