Skip to content

Commit

Permalink
DB info
Browse files Browse the repository at this point in the history
  • Loading branch information
swordsters committed Jun 23, 2012
1 parent 1878669 commit b08ea17
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions protected/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,12 @@
),
*/
'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=23.23.193.192;dbname=angelhack',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'username' => 'angelhacker',
'password' => 'h4ckth1$',
'charset' => 'utf8',
),
*/
'errorHandler'=>array(
// use 'site/error' action to display errors
'errorAction'=>'site/error',
Expand Down

0 comments on commit b08ea17

Please sign in to comment.