Permalink
Browse files

Refactored default configuration for database

  • Loading branch information...
fprochazka committed Jun 16, 2014
1 parent c4a3db2 commit ee682fd66f4303ce1ac591cdb57b17fbfbe775b7
Showing with 12 additions and 0 deletions.
  1. +12 −0 app/config/config.neon
View
@@ -5,6 +5,11 @@
# http://nette.org/security-warning
#
parameters:
database:
host: 127.0.0.1
dbname: facebookwall_devel
user: facebookwall
password: mojetajneheslo
php:
@@ -21,6 +26,13 @@ nette:
expiration: 14 days
database:
dsn: 'mysql:host=%database.host%;dbname=%database.dbname%'
user: %database.user%
password: %database.password%
options: {lazy: yes}
services:
- App\Model\UserManager
- App\RouterFactory

0 comments on commit ee682fd

Please sign in to comment.