mirror of
https://github.com/dg/dibi.git
synced 2025-02-24 02:43:09 +01:00
18 lines
461 B
Plaintext
18 lines
461 B
Plaintext
# Requires Nette Framework 2.0 for PHP 5.3
|
|
#
|
|
# In bootstrap.php append these lines after line $configurator = new Nette\Config\Configurator;
|
|
#
|
|
# $configurator->onCompile[] = function($configurator, $compiler) {
|
|
# $compiler->addExtension('dibi', new DibiNette20Extension);
|
|
# };
|
|
#
|
|
# This will create service named 'dibi.connection'.
|
|
|
|
common:
|
|
dibi:
|
|
host: localhost
|
|
username: root
|
|
password: ***
|
|
database: foo
|
|
lazy: TRUE
|