- Limpieza de ficheros - Cambiados ficheros de configuración para poner en el apartado de YiiMail la ruta de las plantillas de correo git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@50 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
80 lines
2.3 KiB
PHP
80 lines
2.3 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Production configuration
|
|
* Usage:
|
|
* - online website
|
|
* - Production DB
|
|
* - Standard production error pages (404,500, etc.)
|
|
*/
|
|
|
|
|
|
// Set yiiPath (add extra ../../)
|
|
$yiiPath = dirname(__FILE__) . '/../../../../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_dev',
|
|
'emulatePrepare' => true,
|
|
'username' => 'root',
|
|
'password' => 'selfor',
|
|
'charset' => 'utf8',
|
|
'tablePrefix' => '',
|
|
),
|
|
|
|
'mail' => array(
|
|
'class' => 'application.extensions.yii-mail.YiiMail',
|
|
'viewPath' => 'application.views.mail',
|
|
'transportType' => 'smtp',
|
|
'transportOptions' => array(
|
|
'host' => 'smtp-04.servidoresdns.net',
|
|
'encryption' => 'tls',
|
|
'authMode' => 'login',
|
|
'username' => 'sbd8984',
|
|
'password' => 'Rafael2012',
|
|
'port' => 465,
|
|
),
|
|
'viewPath' => 'application.views.mails',
|
|
'logging' => false,
|
|
'dryRun' => false
|
|
),
|
|
|
|
// Application Log
|
|
'log' => array(
|
|
'class' => 'CLogRouter',
|
|
'routes' => array(
|
|
// Save log messages on file
|
|
array(
|
|
'class' => 'CFileLogRoute',
|
|
'levels' => 'error, warning',
|
|
),
|
|
// Send errors via email to the system admin
|
|
/*array(
|
|
'class' => 'CEmailLogRoute',
|
|
'levels' => 'error, warning',
|
|
'emails' => 'marco@example.com',
|
|
),*/
|
|
),
|
|
),
|
|
|
|
),
|
|
|
|
'params' => array(
|
|
'frontpage' => 'http://intranet-incam.dyndns.biz:8008/profind/',
|
|
'email_remitente' => 'admin@selforsistemas.com',
|
|
),
|
|
);
|
|
|
|
?>
|