Created
April 25, 2012 19:58
-
-
Save ringmaster/2492886 to your computer and use it in GitHub Desktop.
Habari Test Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(Utils::env_test()) { | |
Config::set( 'db_connection', array( | |
'connection_string'=>'sqlite:habari_unittest.db', | |
'username'=>'', | |
'password'=>'', | |
'prefix'=>'' | |
)); | |
Config::set('blog_data', array( | |
'admin_username' => 'admin', | |
'admin_pass1' => 'password', | |
'admin_pass2' => 'password', | |
'blog_title' => 'Testing Blog', | |
'admin_email' => '[email protected]', | |
'option_theme_name' => 'Charcoal', | |
'option_theme_dir' => 'charcoal', | |
)); | |
} | |
else { | |
Config::set( 'db_connection', array( | |
'connection_string'=>'mysql:host=localhost;dbname=habari', | |
'username'=>'root', | |
'password'=>'', | |
'prefix'=>'' | |
)); | |
} | |
//define('DEBUG',1 ); | |
// $locale = 'en-us'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment