Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # SECURITY WARNING: it is CRITICAL that this file & directory are NOT accessible directly via a web browser!
- #
- # If you don't protect this directory from direct web access, anybody will be able to see your passwords.
- # http://nette.org/security-warning
- #
- common:
- parameters:
- database:
- driver: mysql
- host: localhost
- database: nette_db
- username: root
- password: 123456
- lazy: TRUE #s db se pracuje az kdyz je potreba
- profiler: TRUE #debug panel
- php:
- date.timezone: Europe/Prague
- # session.save_path: "%tempDir%/sessions"
- # zlib.output_compression: yes
- nette:
- session:
- autoStart: smart
- # database:
- # default:
- # dsn: '%database.driver%:host=%database.host%;database=%database.database%'
- # user: %database.username%
- # password: %database.password%
- services:
- connection:
- class: DibiConnection(%database%)
- novinky:
- class: Model\Novinky(@connection)
- authenticator: Authenticator(DibiConnection(%database%))
- factories:
- production < common:
- development < common:
Advertisement
Add Comment
Please, Sign In to add comment