TEST_MODE always exists now, so check its value, don't rely on its existence to know that we're in test mode.

This commit is contained in:
Bharat Mediratta
2008-12-16 05:13:04 +00:00
parent 83363172b1
commit 8bd7afeb5b
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
*/
class Gallery_Unit_Test_Controller extends Controller {
function Index() {
if (!defined('TEST_MODE')) {
if (!TEST_MODE) {
print Kohana::show_404();
}