- Registro, activación y entrada de usuarios git-svn-id: https://192.168.0.254/svn/Rodax.factuges_web/trunk@2 e455b18d-f7fe-5245-9c43-e2c35af70a32
36 lines
1.4 KiB
PHP
36 lines
1.4 KiB
PHP
<?php
|
|
|
|
return CMap::mergeArray(require(dirname(__FILE__) . '/main.php'), array(
|
|
'components' => array(
|
|
'fixture' => array(
|
|
'class' => 'system.test.CDbFixtureManager',
|
|
),
|
|
'db' => array(
|
|
'connectionString' => 'mysql:host=localhost;dbname=factuges_test',
|
|
'emulatePrepare' => true,
|
|
'username' => 'root',
|
|
'password' => '',
|
|
'charset' => 'utf8',
|
|
),
|
|
// Application Log
|
|
'log' => array(
|
|
'class' => 'CLogRouter',
|
|
'routes' => array(
|
|
array(
|
|
'class' => 'CFileLogRoute',
|
|
'levels' => 'trace, info, error, warning',
|
|
'categories' => 'system.db.*',
|
|
'logFile' => 'test.sql.log',
|
|
),
|
|
// Save log messages on file
|
|
array(
|
|
'class' => 'CFileLogRoute',
|
|
'levels' => 'trace',
|
|
'categories' => 'application.*',
|
|
'logFile' => 'test.application.log',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
));
|