More info in config.yml, remove global $config from core.php.

This commit is contained in:
Markus Birth 2014-01-24 00:51:58 +01:00
parent 53596abf61
commit 40952683d2
2 changed files with 7 additions and 1 deletions

View File

@ -6,3 +6,9 @@ ocde:
server: localhost
username: oc
password: developer
database: opencaching
tmpdb: octmp
maintenance:
username: oc
password: developer
pconnect: false

View File

@ -27,4 +27,4 @@ if (php_sapi_name() == 'cli') {
}
// $loader->load('anotherfile.yml');
$config = $container->get('ocde.config');
// Example: $config = $container->get('ocde.config');