diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-16 05:13:04 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-16 05:13:04 +0000 |
commit | 8bd7afeb5b98cda47fce9df8a32ce85d9ef1a173 (patch) | |
tree | d7b337dc111d5f8eae129a24ab0f6c48eabf3d34 /modules/gallery_unit_test | |
parent | 83363172b1d42b0d5c27d555a497f49fcad34b11 (diff) |
TEST_MODE always exists now, so check its value, don't rely on its existence to know that we're in test mode.
Diffstat (limited to 'modules/gallery_unit_test')
-rw-r--r-- | modules/gallery_unit_test/controllers/gallery_unit_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php index e54963f2..8e5c90c3 100644 --- a/modules/gallery_unit_test/controllers/gallery_unit_test.php +++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php @@ -19,7 +19,7 @@ */ class Gallery_Unit_Test_Controller extends Controller { function Index() { - if (!defined('TEST_MODE')) { + if (!TEST_MODE) { print Kohana::show_404(); } |