summaryrefslogtreecommitdiff
path: root/protected
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2014-06-27 14:29:54 +0200
committerPatrick Seeger <pseeger@ccwn.org>2014-06-27 14:29:54 +0200
commit4942419cea401d6303d2f415eb8c2a8302ae7113 (patch)
treec6e0805e3d384d04d926f1628b2f3d176e6c8679 /protected
parent3f5fb160700b79249521afffb9c83e7f13eedbd8 (diff)
Layout für Handies verbessert
Diffstat (limited to 'protected')
-rw-r--r--protected/config/main.php27
1 files changed, 16 insertions, 11 deletions
diff --git a/protected/config/main.php b/protected/config/main.php
index 1ee938c..5730be4 100644
--- a/protected/config/main.php
+++ b/protected/config/main.php
@@ -7,7 +7,7 @@
// CWebApplication properties can be configured here.
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
- 'name'=>'Waiblinger Altstadtfest 2013',
+ 'name'=>'TEST - Waiblinger Altstadtfest 2014',
'theme' => 'astaf',
'sourceLanguage' => 'en',
'language' =>'de',
@@ -20,7 +20,7 @@ return array(
'application.models.*',
'application.components.*',
'application.extensions.ddeditor.*',
- 'application.extensions.wetter.*',
+ // 'application.extensions.wetter.*',
'application.modules.cms.models.*',
// 'application.extensions.extckeditor.*',
),
@@ -58,6 +58,7 @@ return array(
'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
+ 'Programm/<tag:\w+>'=>'veranstaltung/index',
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
@@ -70,10 +71,10 @@ return array(
// uncomment the following to use a MySQL database
'db'=>array(
- 'connectionString' => 'mysql:host=database;dbname=astaf_2012',
+ 'connectionString' => 'mysql:host=localhost;dbname=astaf',
'emulatePrepare' => true,
- 'username' => 'astaf',
- 'password' => 'AsTaF4',
+ 'username' => 'root',
+ 'password' => '',
'charset' => 'utf8',
'tablePrefix' => 'tbl_'
),
@@ -85,15 +86,19 @@ return array(
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
- array(
+ 'file'=>array(
'class'=>'CFileLogRoute',
- 'levels'=>'error, warning',//, debug,trace',
+ 'levels'=>'error, warning, debug, trace',
+ 'categories'=>'system.db.*',
),
// uncomment the following to show log messages on web pages
- /*array(
+ 'web'=>array(
'class'=>'CWebLogRoute',
- ),*/
+
+ 'levels'=>'trace, info, error, warning',
+ 'categories'=>'system.db.*',
+ ),
),
),
@@ -108,8 +113,8 @@ return array(
'pos_long'=>9.31750059128,
'map_api_key'=>'ABQIAAAAzwMJRVnIOel5nqTjdUcPrRTSNOUR83EeIVShY4aBvXxHJx0DexSUFNGH3KQhtFhfSNHxkECqL5rQBA',
'map_api_domain'=>'www.astaf.de',
- 'start_date'=>'28.06.2013',
- 'end_date'=>'30.06.2013',
+ 'start_date'=>'27.06.2014',
+ 'end_date'=>'29.06.2014',
'start_time'=>'19:00',
'end_time'=>'23:00',
),