@@ -5,22 +5,22 @@ |
||
| 5 | 5 | $serviceContainer->setAdapterClass('default', 'mysql'); |
| 6 | 6 | $manager = new \Propel\Runtime\Connection\ConnectionManagerSingle(); |
| 7 | 7 | $manager->setConfiguration(array ( |
| 8 | - 'classname' => 'Propel\\Runtime\\Connection\\ProfilerConnectionWrapper', |
|
| 9 | - 'dsn' => getenv('DB_CONN'), |
|
| 10 | - 'user' => getenv('DB_USER'), |
|
| 11 | - 'password' => getenv('DB_PASS'), |
|
| 12 | - 'attributes' => |
|
| 13 | - array ( |
|
| 8 | + 'classname' => 'Propel\\Runtime\\Connection\\ProfilerConnectionWrapper', |
|
| 9 | + 'dsn' => getenv('DB_CONN'), |
|
| 10 | + 'user' => getenv('DB_USER'), |
|
| 11 | + 'password' => getenv('DB_PASS'), |
|
| 12 | + 'attributes' => |
|
| 13 | + array ( |
|
| 14 | 14 | 'ATTR_EMULATE_PREPARES' => false, |
| 15 | - ), |
|
| 16 | - 'settings' => |
|
| 17 | - array ( |
|
| 15 | + ), |
|
| 16 | + 'settings' => |
|
| 17 | + array ( |
|
| 18 | 18 | 'charset' => 'utf8', |
| 19 | 19 | 'queries' => |
| 20 | 20 | array ( |
| 21 | - 'utf8' => 'SET NAMES utf8 COLLATE utf8_unicode_ci, COLLATION_CONNECTION = utf8_unicode_ci, COLLATION_DATABASE = utf8_unicode_ci, COLLATION_SERVER = utf8_unicode_ci', |
|
| 21 | + 'utf8' => 'SET NAMES utf8 COLLATE utf8_unicode_ci, COLLATION_CONNECTION = utf8_unicode_ci, COLLATION_DATABASE = utf8_unicode_ci, COLLATION_SERVER = utf8_unicode_ci', |
|
| 22 | + ), |
|
| 22 | 23 | ), |
| 23 | - ), |
|
| 24 | 24 | )); |
| 25 | 25 | $manager->setName('default'); |
| 26 | 26 | $serviceContainer->setConnectionManager('default', $manager); |