Skip to content

Instantly share code, notes, and snippets.

@fdewinne
Created August 6, 2013 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fdewinne/6164927 to your computer and use it in GitHub Desktop.
Save fdewinne/6164927 to your computer and use it in GitHub Desktop.
database.global.php
<?php
/**
* database.global.php
*
* @date 10/04/13
* @author Frederic Dewinne <frederic.dewinne@vaconsulting.lu>
* @file database.global.php
* @copyright Copyright (c) Foyer - All rights reserved
* @license Unauthorized copying of this source code, via any medium is strictly
* prohibited, proprietary and confidential.
*/
return [
'doctrine' => [
'connection' => [
'orm_default' => [
'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
'params' => [
'host' => 'localhost',
'port' => '3306',
'user' => 'root',
'charset' => 'UTF8',
'password' => '',
'dbname' => 'foyer'
]
],
'orm_agent' => [
'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
'params' => [
'host' => 'localhost',
'port' => '3306',
'user' => 'root',
'charset' => 'UTF8',
'password' => '',
'dbname' => 'agents'
]
],
],
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment