On Wednesday 26 September 2007 17:25:40 Juan Felipe Alavarez Saldarriaga
wrote:
> // Load DB info
> $arrDbConfig = array(
> 'host' => $objConfiguration->database->host,
> 'username' =>
> $objConfiguration->database->username, 'password' =>
> $objConfiguration->database->password,
> 'dbname' => $objConfiguration->database->name,
> 'profiler' =>
> $objConfiguration->database->profiler
> );
The profiler can now be enabled with a custom profiler class and now is
enabled with an array of paramaters.
change your array to:
// Load DB info
$arrDbConfig = array(
'host' => $objConfiguration->database->host,
'username' => $objConfiguration->database->username,
'password' => $objConfiguration->database->password,
'dbname' => $objConfiguration->database->name,
'profiler' => array (
'enabled' => $objConfiguration->database->profiler
)
);