mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
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:
parent
21acac5c59
commit
a59f4d0170
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ if (!class_exists('AppController')) {
|
||||||
var $components = array('Orange' => array('colour' => 'blood orange'));
|
var $components = array('Orange' => array('colour' => 'blood orange'));
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else if (!defined('APP_CONTROLLER_EXISTS')){
|
||||||
define('APP_CONTROLLER_EXISTS', true);
|
define('APP_CONTROLLER_EXISTS', true);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue