Ajustar mejor la configuración para desarrollo y producción.
git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@32 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
This commit is contained in:
parent
736f2b3e42
commit
d439c12781
@ -49,18 +49,6 @@ $config = array(
|
||||
// use 'site/error' action to display errors
|
||||
'errorAction'=>'site/error',
|
||||
),
|
||||
'mail' => array(
|
||||
'class' => 'application.extensions.yii-mail.YiiMail',
|
||||
'transportType' => 'smtp',
|
||||
'transportOptions' => array(
|
||||
'host' => 'smtp.selforsistemas.com',
|
||||
'encryption' => '',
|
||||
'username' => 'admin@selforsistemas.com',
|
||||
'password' => 'Rafael2012',
|
||||
'port' => 25,
|
||||
),
|
||||
'viewPath' => 'application.views.mails',
|
||||
),
|
||||
/*'widgetFactory'=>array(
|
||||
'widgets'=>array(
|
||||
'CLinkPager'=>array(
|
||||
@ -134,10 +122,4 @@ $config = array(
|
||||
),*/
|
||||
),
|
||||
|
||||
// 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',
|
||||
),
|
||||
);
|
||||
@ -40,7 +40,22 @@ $configSpecific = array(
|
||||
'charset' => 'utf8',
|
||||
'tablePrefix' => '',
|
||||
),
|
||||
|
||||
|
||||
'components'=>array(
|
||||
'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',
|
||||
@ -48,7 +63,7 @@ $configSpecific = array(
|
||||
// Save log messages on file
|
||||
array(
|
||||
'class' => 'CFileLogRoute',
|
||||
'levels' => 'error, warning, trace, info',
|
||||
'levels' => 'error, warning, info',
|
||||
),
|
||||
// Show log messages on web pages
|
||||
array(
|
||||
@ -61,7 +76,11 @@ $configSpecific = array(
|
||||
),
|
||||
),
|
||||
|
||||
// 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',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
@ -24,14 +24,30 @@ $configSpecific = array(
|
||||
'components' => array(
|
||||
|
||||
// Database
|
||||
'db' => array(
|
||||
'connectionString' => 'mysql:host=PRODUCTION_HOST;dbname=PRODUCTION_DBNAME',
|
||||
'username' => 'USERNAME',
|
||||
'password' => 'PASSWORD',
|
||||
'charset'=>'utf8',
|
||||
'tablePrefix' => '',
|
||||
'db'=>array(
|
||||
'connectionString' => 'mysql:host=localhost;dbname=usuarios_dev',
|
||||
'emulatePrepare' => true,
|
||||
'username' => 'root',
|
||||
'password' => 'selfor',
|
||||
'charset' => 'utf8',
|
||||
'tablePrefix' => '',
|
||||
),
|
||||
|
||||
'components'=>array(
|
||||
'mail' => array(
|
||||
'class' => 'application.extensions.yii-mail.YiiMail',
|
||||
'transportType' => 'smtp',
|
||||
'transportOptions' => array(
|
||||
'host' => 'smtp.selforsistemas.com',
|
||||
'encryption' => '',
|
||||
'username' => 'admin@selforsistemas.com',
|
||||
'password' => 'Rafael2012',
|
||||
'port' => 25,
|
||||
),
|
||||
'viewPath' => 'application.views.mails',
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
// Application Log
|
||||
'log' => array(
|
||||
'class' => 'CLogRouter',
|
||||
@ -39,19 +55,23 @@ $configSpecific = array(
|
||||
// Save log messages on file
|
||||
array(
|
||||
'class' => 'CFileLogRoute',
|
||||
'levels' => 'error, warning, trace, info',
|
||||
'levels' => 'error, warning',
|
||||
),
|
||||
// Send errors via email to the system admin
|
||||
array(
|
||||
/*array(
|
||||
'class' => 'CEmailLogRoute',
|
||||
'levels' => 'error, warning',
|
||||
'emails' => 'marco@example.com',
|
||||
),
|
||||
),*/
|
||||
),
|
||||
),
|
||||
|
||||
),
|
||||
|
||||
|
||||
'params' => array(
|
||||
'frontpage' => 'http://intranet-incam.dyndns.biz:8008/profind/',
|
||||
'email_remitente' => 'noreply@profindtic.com',
|
||||
),
|
||||
);
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user