Funciona: - Usuario - Empresa git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@2 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
57 lines
1.4 KiB
PHP
57 lines
1.4 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Production configuration
|
|
* Usage:
|
|
* - online website
|
|
* - Production 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=PRODUCTION_HOST;dbname=PRODUCTION_DBNAME',
|
|
'username' => 'USERNAME',
|
|
'password' => 'PASSWORD',
|
|
'charset'=>'utf8',
|
|
'tablePrefix' => '',
|
|
),
|
|
|
|
// Application Log
|
|
'log' => array(
|
|
'class' => 'CLogRouter',
|
|
'routes' => array(
|
|
// Save log messages on file
|
|
array(
|
|
'class' => 'CFileLogRoute',
|
|
'levels' => 'error, warning, trace, info',
|
|
),
|
|
// Send errors via email to the system admin
|
|
array(
|
|
'class' => 'CEmailLogRoute',
|
|
'levels' => 'error, warning',
|
|
'emails' => 'marco@example.com',
|
|
),
|
|
),
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
?>
|