Advertisement
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
- dbname: test
- user:
- password:
- php:
- date.timezone: Europe/Prague
- # session.save_path: "%tempDir%/sessions"
- # zlib.output_compression: yes
- nette:
- session:
- expiration: '+ 30 days'
- database:
- default:
- dsn: '%database.driver%:host=%database.host%;dbname=%database.dbname%'
- user: %database.user%
- password: %database.password%
- services:
- database: @Nette\Database\Connection
- authenticator: Authenticator( @database::table(users) )
- factories:
- fbToolsScript:
- class: \components\FbTools\Script
- likebutton:
- class: \components\FbTools\LikeButton
- setup:
- - setUrl('http://www.mojestranka.cz')
- - setWidth(150)
- production < common:
- development < common:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement