~fusonic/chive/1.1

« back to all changes in this revision

Viewing changes to yii/cli/views/webapp/protected/config/main.php

  • Committer: Matthias Burtscher
  • Date: 2010-02-12 09:12:35 UTC
  • Revision ID: matthias.burtscher@fusonic.net-20100212091235-jqxrb62klx872ajc
* Updated Yii to 1.1.0
* Removed CodePress and CodeMirror
* Updated jQuery and some plugins
* Cleaned some code ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
        // application components
22
22
        'components'=>array(
 
23
                'user'=>array(
 
24
                        // enable cookie-based authentication
 
25
                        'allowAutoLogin'=>true,
 
26
                ),
 
27
                'db'=>array(
 
28
                        'connectionString' => 'sqlite:protected/data/testdrive.db',
 
29
                ),
 
30
                // uncomment the following to use a MySQL database
 
31
                /*
 
32
                'db'=>array(
 
33
                        'connectionString' => 'mysql:host=localhost;dbname=testdrive',
 
34
                        'emulatePrepare' => true,
 
35
                        'username' => 'root',
 
36
                        'password' => '',
 
37
                        'charset' => 'utf8',
 
38
                ),
 
39
                */
 
40
                'errorHandler'=>array(
 
41
                        // use 'site/error' action to display errors
 
42
            'errorAction'=>'site/error',
 
43
        ),
23
44
                'log'=>array(
24
45
                        'class'=>'CLogRouter',
25
46
                        'routes'=>array(
27
48
                                        'class'=>'CFileLogRoute',
28
49
                                        'levels'=>'error, warning',
29
50
                                ),
 
51
                                // uncomment the following to show log messages on web pages
 
52
                                /*
 
53
                                array(
 
54
                                        'class'=>'CWebLogRoute',
 
55
                                ),
 
56
                                */
30
57
                        ),
31
58
                ),
32
 
                'user'=>array(
33
 
                        // enable cookie-based authentication
34
 
                        'allowAutoLogin'=>true,
35
 
                ),
36
 
                // uncomment the following to set up database
37
 
                /*
38
 
                'db'=>array(
39
 
                        'connectionString'=>'Your DSN',
40
 
                ),
41
 
                */
42
59
        ),
43
60
 
44
61
        // application-level parameters that can be accessed