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.php30
1 files changed, 23 insertions, 7 deletions
diff --git a/protected/config/maincfg.php b/protected/config/maincfg.php
index 879ae7c..0195b09 100644
--- a/protected/config/maincfg.php
+++ b/protected/config/maincfg.php
@@ -7,7 +7,7 @@
// CWebApplication properties can be configured here.
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
- 'name'=>'Altstadtfest Waiblingen - Vereinsadministration',
+ 'name'=>'Vereinsadministration - Altstadtfest Waiblingen',
// preloading 'log' component
'preload'=>array('log'),
@@ -16,7 +16,8 @@ return array(
'import'=>array(
'application.models.*',
'application.components.*',
- 'application.extensions.egmap.*'
+ 'application.extensions.egmap.*',
+ 'application.modules.auditTrail.models.AuditTrail',
),
'modules'=>array(
@@ -27,6 +28,11 @@ return array(
// 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
+ 'userNameColumn' => 'username', // the column name of the primary key for the user
+ ),
),
// application components
@@ -35,6 +41,9 @@ return array(
// enable cookie-based authentication
'allowAutoLogin'=>true,
),
+ 'session'=>array(
+ 'timeout'=>30,
+ ),
// uncomment the following to enable URLs in path-format
/*'urlManager'=>array(
@@ -53,8 +62,8 @@ return array(
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=astaf',
'emulatePrepare' => true,
- 'username' => 'root',
- 'password' => '',
+ 'username' => 'astaf',
+ 'password' => 'AsTaF4',
'charset' => 'utf8',
),
'errorHandler'=>array(
@@ -68,12 +77,15 @@ return array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning',
),
+ array(
+ 'class'=>'CFileLogRoute',
+ 'logFile'=>'debug.log',
+ ),
// uncomment the following to show log messages on web pages
/*
array(
'class'=>'CWebLogRoute',
- ),
- */
+ ),*/
),
),
),
@@ -86,6 +98,10 @@ return array(
'pos_lat'=>48.8323934983,
'pos_long'=>9.31750059128,
'map_api_key'=>'ABQIAAAAzwMJRVnIOel5nqTjdUcPrRTSNOUR83EeIVShY4aBvXxHJx0DexSUFNGH3KQhtFhfSNHxkECqL5rQBA',
- 'map_api_domain'=>'www.astaf.de'
+ 'map_api_domain'=>'www.astaf.de',
+ 'start_date'=>'01.07.2012',
+ 'end_date'=>'03.07.2012',
+ 'start_time'=>'19:00',
+ 'end_time'=>'23:00',
),
); \ No newline at end of file