Adding conditional check for constant. Removes notice when running all_tests group. Closes #5281

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7478 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-08-19 01:34:44 +00:00
parent 21acac5c59
commit a59f4d0170

View file

@ -66,7 +66,7 @@ if (!class_exists('AppController')) {
var $components = array('Orange' => array('colour' => 'blood orange'));
}
} else {
} else if (!defined('APP_CONTROLLER_EXISTS')){
define('APP_CONTROLLER_EXISTS', true);
}
/**