summaryrefslogtreecommitdiffstats
path: root/application/config/example/database.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-01-21 23:27:39 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-01-21 23:27:39 +0100
commitfbc261b6dfe5f74b7782b5c8601339fc00921505 (patch)
treee99dafe0e38df9fbfbbcc45da6fda1f1829cc0fe /application/config/example/database.php
parentdf7de497f1f600a7a0d69760519f0b836f07ba37 (diff)
Put testsuite config in example database config
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/config/example/database.php')
-rw-r--r--application/config/example/database.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/config/example/database.php b/application/config/example/database.php
index 002faff17..33d4ead3e 100644
--- a/application/config/example/database.php
+++ b/application/config/example/database.php
@@ -96,3 +96,7 @@ $db['default'] = array(
'save_queries' => TRUE
);
+if (getenv("ENVIRONMENT") === "testsuite") {
+ $db['default']['database'] = "filebin_testsuite";
+ $db['default']['dbprefix'] = "testsuite_prefix_";
+}