Skip to content

Instantly share code, notes, and snippets.

@sevein
Created November 7, 2014 18:12
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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