diff options
Diffstat (limited to 'protected/config')
| -rw-r--r-- | protected/config/console.php | 8 | ||||
| -rw-r--r-- | protected/config/maincfg.php | 14 |
2 files changed, 15 insertions, 7 deletions
diff --git a/protected/config/console.php b/protected/config/console.php index 15c9353..2df2b24 100644 --- a/protected/config/console.php +++ b/protected/config/console.php @@ -7,18 +7,16 @@ return array( 'name'=>'My Console Application', // application components 'components'=>array( - 'db'=>array( + /*'db'=>array( 'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db', - ), + ),*/ // uncomment the following to use a MySQL database - /* 'db'=>array( - 'connectionString' => 'mysql:host=localhost;dbname=testdrive', + 'connectionString' => 'mysql:host=localhost;dbname=astaf', 'emulatePrepare' => true, 'username' => 'root', 'password' => '', 'charset' => 'utf8', ), - */ ), );
\ No newline at end of file diff --git a/protected/config/maincfg.php b/protected/config/maincfg.php index 78c3c6a..c1443ba 100644 --- a/protected/config/maincfg.php +++ b/protected/config/maincfg.php @@ -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 @@ -86,6 +92,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 |
