1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
<?php
// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');
// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'TEST - Waiblinger Altstadtfest 2014',
'theme' => 'astaf',
'sourceLanguage' => 'en',
'language' =>'de',
// preloading 'log' component
'preload'=>array('log'),
// autoloading model and component classes
'import'=>array(
'application.models.*',
'application.components.*',
'application.extensions.ddeditor.*',
// 'application.extensions.wetter.*',
'application.modules.cms.models.*',
// 'application.extensions.extckeditor.*',
),
'modules'=>array(
// uncomment the following to enable the Gii tool
/* 'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'AsTaF4',
// If removed, Gii defaults to localhost only. Edit carefully to taste.
'ipFilters'=>array('127.0.0.1','::1'),
),*/
'cms' => array(
'languages' => array('de','en'), // place all valid languages here
'layout' => '',
),
),
// application components
'components'=>array(
'user'=>array(
// enable cookie-based authentication
'allowAutoLogin'=>false,
),
'cache' => array(
'class' => 'system.caching.CFileCache',
),
'widgetFactory' => array(
'enableSkin' => true,
),
// uncomment the following to enable URLs in path-format
'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>',
),
),
// 'db'=>array(
// 'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
// ),
// uncomment the following to use a MySQL database
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=astaf',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'tablePrefix' => 'tbl_'
),
'errorHandler'=>array(
// use 'site/error' action to display errors
'errorAction'=>'site/error',
),
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
'file'=>array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning, debug, trace',
'categories'=>'system.db.*',
),
// uncomment the following to show log messages on web pages
'web'=>array(
'class'=>'CWebLogRoute',
'levels'=>'trace, info, error, warning',
'categories'=>'system.db.*',
),
),
),
),
// application-level parameters that can be accessed
// using Yii::app()->params['paramName']
'params'=>array(
// this is used in contact page
'adminEmail'=>'webmaster@astaf.de',
'pos_lat'=>48.8323934983,
'pos_long'=>9.31750059128,
'map_api_key'=>'ABQIAAAAzwMJRVnIOel5nqTjdUcPrRTSNOUR83EeIVShY4aBvXxHJx0DexSUFNGH3KQhtFhfSNHxkECqL5rQBA',
'map_api_domain'=>'www.astaf.de',
'start_date'=>'27.06.2014',
'end_date'=>'29.06.2014',
'start_time'=>'19:00',
'end_time'=>'23:00',
),
);
|