summaryrefslogtreecommitdiffstats
path: root/application/config/example/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/config/example/database.php')
-rw-r--r--application/config/example/database.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/application/config/example/database.php b/application/config/example/database.php
index 51b666b38..7a0e63d56 100644
--- a/application/config/example/database.php
+++ b/application/config/example/database.php
@@ -64,6 +64,13 @@ $db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;
+if (getenv("ENVIRONMENT") === "testsuite") {
+ // Change these to your likeing, just make sure they
+ // don't overlap with the normal settings.
+ $db['default']['database'] = "filebin_testsuite";
+ $db['default']['dbprefix'] = "testsuite-prefix-";
+}
+
/* End of file database.php */
/* Location: ./application/config/database.php */ \ No newline at end of file