git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@33 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
85 lines
2.3 KiB
PHP
85 lines
2.3 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Development configuration
|
|
* Usage:
|
|
* - Local website
|
|
* - Local DB
|
|
* - Show all details on each error.
|
|
* - Gii module enabled
|
|
*/
|
|
|
|
|
|
// Set yiiPath (add extra ../../)
|
|
$yiiPath = dirname(__FILE__) . '/../../../yii/framework/yii.php';
|
|
|
|
// Set YII_DEBUG and YII_TRACE_LEVEL flags
|
|
$debug = true;
|
|
$traceLevel = 3;
|
|
|
|
|
|
// Set specific config
|
|
$configSpecific = array(
|
|
|
|
// Modules
|
|
'modules' => array(
|
|
'gii' => array(
|
|
'class' => 'system.gii.GiiModule',
|
|
'password' => 'password',
|
|
),
|
|
),
|
|
|
|
// Application components
|
|
'components' => array(
|
|
// Database
|
|
'db' => array(
|
|
'connectionString' => 'mysql:host=localhost;dbname=usuarios_dev',
|
|
'emulatePrepare' => true,
|
|
'username' => 'root',
|
|
'password' => '',
|
|
'charset' => 'utf8',
|
|
'tablePrefix' => '',
|
|
),
|
|
|
|
'mail' => array(
|
|
'class' => 'application.extensions.yii-mail.YiiMail',
|
|
'transportType' => 'smtp',
|
|
'transportOptions' => array(
|
|
'host' => 'mail.rodax-software.com',
|
|
'encryption' => '',
|
|
'username' => 'mantenimiento+rodax-software.com',
|
|
'password' => '34y96w6d',
|
|
'port' => 25,
|
|
),
|
|
'viewPath' => 'application.views.mails',
|
|
),
|
|
|
|
// Application Log
|
|
'log' => array(
|
|
'class' => 'CLogRouter',
|
|
'routes' => array(
|
|
// Save log messages on file
|
|
array(
|
|
'class' => 'CFileLogRoute',
|
|
'levels' => 'error, warning, info',
|
|
),
|
|
// Show log messages on web pages
|
|
array(
|
|
'class' => 'CWebLogRoute',
|
|
//'categories' => 'system.db.CDbCommand',
|
|
'levels' => 'error, warning, trace, info',
|
|
'showInFireBug' => true,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
|
|
// application-level parameters that can be accessed
|
|
// using Yii::app()->params['paramName']
|
|
'params'=>array(
|
|
'frontpage' => 'http://localhost/index.php',
|
|
'email_remitente' => 'mantenimiento@rodax-software.com',
|
|
),
|
|
);
|
|
|
|
?>
|