summaryrefslogtreecommitdiff
path: root/protected/config/maincfg.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/config/maincfg.php')
-rw-r--r--protected/config/maincfg.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/protected/config/maincfg.php b/protected/config/maincfg.php
index c3dd6b3..124cd3c 100644
--- a/protected/config/maincfg.php
+++ b/protected/config/maincfg.php
@@ -20,16 +20,17 @@ return array(
'application.components.*',
'application.extensions.egmap.*',
'application.modules.auditTrail.models.AuditTrail',
+ 'application.extensions.yii-mail.YiiMailMessage'
),
'modules'=>array(
// uncomment the following to enable the Gii tool
- 'gii'=>array(
+ /*'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'astafGen',
// If removed, Gii defaults to localhost only. Edit carefully to taste.
'ipFilters'=>array('127.0.0.1','::1'),
- ),
+ ),*/
'auditTrail'=>array(
'userClass' => 'User', // the class name for the user object
'userIdColumn' => 'id', // the column name of the primary key for the user
@@ -49,6 +50,13 @@ return array(
'simpleImage'=>array(
'class' => 'application.extensions.SimpleImage.CSimpleImage',
),
+ 'mail' => array(
+ 'class' => 'application.extensions.yii-mail.YiiMail',
+ 'transportType' => 'php',
+ 'viewPath' => 'application.views.mail',
+ 'logging' => true,
+ 'dryRun' => true
+ ),
// uncomment the following to enable URLs in path-format
/*'urlManager'=>array(