File tree Expand file tree Collapse file tree 1 file changed +21
-13
lines changed
Expand file tree Collapse file tree 1 file changed +21
-13
lines changed Original file line number Diff line number Diff line change 11<?php
2- $ db ['default ' ]['dbserver ' ] = 'mysql ' ;
3- $ db ['default ' ]['hostname ' ] = 'localhost ' ;
4- $ db ['default ' ]['username ' ] = 'root ' ;
5- $ db ['default ' ]['password ' ] = 'root ' ;
6- $ db ['default ' ]['database ' ] = 'benchmark ' ;
7- /*
8- To override db connection details, copy the above config values into a file called config.db.local.php,
9- which is set to be ignored by git and thus will not be committed inadvertently!
10- */
11- if (file_exists (dirname (__FILE__ ).DIRECTORY_SEPARATOR .'config.db.local.php ' )) {
12- include dirname (__FILE__ ).DIRECTORY_SEPARATOR .'config.db.local.php ' ;
13- }
14- ?>
2+
3+ $ db = array (
4+ // development database (default)
5+ 'dev ' => array (
6+ 'driver ' => 'mysql ' ,
7+ 'hostname ' => 'localhost ' ,
8+ 'username ' => 'root ' ,
9+ 'password ' => 'root ' ,
10+ 'database ' => 'benchmark '
11+ ),
12+ //production database (live website)
13+ 'prod ' => array (
14+ 'driver ' => '' ,
15+ 'hostname ' => '' ,
16+ 'username ' => '' ,
17+ 'password ' => '' ,
18+ 'database ' => ''
19+ )
20+ );
21+
22+ // -- end
You can’t perform that action at this time.
0 commit comments