summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/config/config.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/config/config.php b/core/config/config.php
index db016ffd..9d08aef3 100644
--- a/core/config/config.php
+++ b/core/config/config.php
@@ -116,12 +116,13 @@ $config['extension_prefix'] = 'MY_';
* or relative to the docroot. Modules can include any resource that can exist
* in your application directory, configuration files, controllers, views, etc.
*/
-$config['modules'] = array
-(
- MODPATH . 'gallery_unit_test',
- MODPATH . 'unit_test',
+$config['modules'] = array(
MODPATH . 'forge',
-
THEMEPATH . 'default',
);
+if (defined('TEST_MODE')) {
+ array_splice($config['modules'], 0, 0,
+ array(MODPATH . 'gallery_unit_test',
+ MODPATH . 'unit_test'));
+}