Incam_PROFIND_Web/www/protected/config/mode_test.php
roberto 1e044b6498 Subida inicial.
Funciona:
- Usuario
- Empresa

git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@2 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
2012-09-20 19:38:42 +00:00

64 lines
1.5 KiB
PHP

<?php
/**
* Test configuration
* Usage:
* - Local website
* - Local DB
* - Standard production error pages (404, 500, etc.)
*/
// Set yiiPath (add extra ../../)
//$yiiPath = dirname(__FILE__) . '/../../../yii/framework/yii.php';
// Set YII_DEBUG and YII_TRACE_LEVEL flags
$debug = false;
$traceLevel = 0;
// Set specific config
$configSpecific = array(
// Application components
'components' => array(
// Database
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=usuarios_test',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'tablePrefix' => '',
),
// Fixture Manager for testing
'fixture' => array(
'class' => 'system.test.CDbFixtureManager',
),
// Application Log
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
// Save log messages on file
array(
'class' => 'CFileLogRoute',
'levels' => 'error, warning, trace, info',
),
// Show log messages on web pages
array(
'class' => 'CWebLogRoute',
//'categories' => 'system.db.CDbCommand',
'levels' => 'error, warning',
),
),
),
),
);
?>