From 8bd7afeb5b98cda47fce9df8a32ce85d9ef1a173 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 16 Dec 2008 05:13:04 +0000 Subject: TEST_MODE always exists now, so check its value, don't rely on its existence to know that we're in test mode. --- core/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/config/config.php b/core/config/config.php index c785deb1..00046e80 100644 --- a/core/config/config.php +++ b/core/config/config.php @@ -122,7 +122,7 @@ $config['modules'] = array( THEMEPATH . 'admin_default' ); -if (defined('TEST_MODE')) { +if (TEST_MODE) { array_splice($config['modules'], 0, 0, array(MODPATH . 'gallery_unit_test', MODPATH . 'unit_test')); -- cgit v1.2.3