Skip to content

Instantly share code, notes, and snippets.

@sevein
Created Nov 7, 2014
Embed
What would you like to do?
config.php AtoM
<?php
return array (
'all' =>
array (
'propel' =>
array (
'class' => 'sfPropelDatabase',
'param' =>
array (
'encoding' => 'utf8',
'persistent' => true,
'pooling' => true,
'dsn' => 'mysql:dbname=atom;host=localhost;port=3306',
'username' => 'root',
'password' => 'root',
),
),
),
'dev' =>
array (
'propel' =>
array (
'param' =>
array (
'classname' => 'DebugPDO',
'debug' =>
array (
'realmemoryusage' => true,
'details' =>
array (
'time' =>
array (
'enabled' => true,
),
'slow' =>
array (
'enabled' => true,
'threshold' => 0.10000000000000001,
),
'mem' =>
array (
'enabled' => true,
),
'mempeak' =>
array (
'enabled' => true,
),
'memdelta' =>
array (
'enabled' => true,
),
),
),
),
),
),
'test' =>
array (
'propel' =>
array (
'param' =>
array (
'classname' => 'DebugPDO',
),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment