Permalink
Browse files

updated config.neon

  • Loading branch information...
dg committed Jan 16, 2012
1 parent f05bb84 commit a936e6ded0c1b2507f0c3697bf38b024ce203187
Showing with 9 additions and 9 deletions.
  1. +9 −9 app/config/config.neon
View
@@ -20,16 +20,16 @@ common:
# zlib.output_compression: yes
- services:
+ nette:
database:
- class: Nette\Database\Connection(
- '%database.driver%:host=%database.host%;dbname=%database.dbname%'
- %database.user%
- %database.password%
- )
- setup:
- - setCacheStorage(...)
- #- setDatabaseReflection( Nette\Database\Reflection\DiscoveredReflection() )
+ 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) )

0 comments on commit a936e6d

Please sign in to comment.