Ajustar mejor la configuración para desarrollo y producción.

git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@33 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
This commit is contained in:
roberto 2012-09-26 13:56:51 +00:00
parent d439c12781
commit abd7318032
3 changed files with 27 additions and 28 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
// Set yiiPath (add extra ../../) // Set yiiPath (add extra ../../)
$yiiPath = dirname(__FILE__) . '/../../../yii/framework/yii.php'; // $yiiPath = dirname(__FILE__) . '/../../../yii/framework/yii.php';
// Set YII_DEBUG and YII_TRACE_LEVEL flags // Set YII_DEBUG and YII_TRACE_LEVEL flags
//$debug = true; //$debug = true;

View File

@ -11,7 +11,7 @@
// Set yiiPath (add extra ../../) // Set yiiPath (add extra ../../)
//$yiiPath = dirname(__FILE__) . '/../../../yii/framework/yii.php'; $yiiPath = dirname(__FILE__) . '/../../../yii/framework/yii.php';
// Set YII_DEBUG and YII_TRACE_LEVEL flags // Set YII_DEBUG and YII_TRACE_LEVEL flags
$debug = true; $debug = true;
@ -41,20 +41,18 @@ $configSpecific = array(
'tablePrefix' => '', 'tablePrefix' => '',
), ),
'components'=>array( 'mail' => array(
'mail' => array( 'class' => 'application.extensions.yii-mail.YiiMail',
'class' => 'application.extensions.yii-mail.YiiMail', 'transportType' => 'smtp',
'transportType' => 'smtp', 'transportOptions' => array(
'transportOptions' => array( 'host' => 'mail.rodax-software.com',
'host' => 'mail.rodax-software.com', 'encryption' => '',
'encryption' => '', 'username' => 'mantenimiento+rodax-software.com',
'username' => 'mantenimiento+rodax-software.com', 'password' => '34y96w6d',
'password' => '34y96w6d', 'port' => 25,
'port' => 25, ),
), 'viewPath' => 'application.views.mails',
'viewPath' => 'application.views.mails', ),
),
),
// Application Log // Application Log
'log' => array( 'log' => array(

View File

@ -10,7 +10,7 @@
// Set yiiPath (add extra ../../) // Set yiiPath (add extra ../../)
//$yiiPath = dirname(__FILE__) . '/../../../yii/framework/yii.php'; $yiiPath = dirname(__FILE__) . '/../../../../framework/yii.php';
// Set YII_DEBUG and YII_TRACE_LEVEL flags // Set YII_DEBUG and YII_TRACE_LEVEL flags
$debug = false; $debug = false;
@ -33,20 +33,21 @@ $configSpecific = array(
'tablePrefix' => '', 'tablePrefix' => '',
), ),
'components'=>array( 'mail' => array(
'mail' => array( 'class' => 'application.extensions.yii-mail.YiiMail',
'class' => 'application.extensions.yii-mail.YiiMail',
'transportType' => 'smtp', 'transportType' => 'smtp',
'transportOptions' => array( 'transportOptions' => array(
'host' => 'smtp.selforsistemas.com', 'host' => 'smtp-04.servidoresdns.net',
'encryption' => '', 'encryption' => 'tls',
'username' => 'admin@selforsistemas.com', 'authMode' => 'login',
'username' => 'sbd8984',
'password' => 'Rafael2012', 'password' => 'Rafael2012',
'port' => 25, 'port' => 465,
), ),
'viewPath' => 'application.views.mails', 'viewPath' => 'application.views.mails',
), 'logging' => false,
), 'dryRun' => false
),
// Application Log // Application Log
'log' => array( 'log' => array(
@ -70,8 +71,8 @@ $configSpecific = array(
'params' => array( 'params' => array(
'frontpage' => 'http://intranet-incam.dyndns.biz:8008/profind/', 'frontpage' => 'http://intranet-incam.dyndns.biz:8008/profind/',
'email_remitente' => 'noreply@profindtic.com', 'email_remitente' => 'admin@selforsistemas.com',
), ),
); );
?> ?>