mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
commit
499b5e7268
1 changed files with 3 additions and 3 deletions
|
@ -184,10 +184,10 @@ class CakeTestSuiteDispatcher {
|
|||
|
||||
$appClass = $this->params['output'] . 'Reporter';
|
||||
$appFile = APPLIBS . 'test_suite' . DS . 'reporter' . DS . $type . '_reporter.php';
|
||||
if (include_once $coreFile) {
|
||||
$Reporter =& new $coreClass(null, $this->params);
|
||||
} elseif (include_once $appFile) {
|
||||
if (file_exists($appFile) && include_once $appFile) {
|
||||
$Reporter =& new $appClass(null, $this->params);
|
||||
} elseif (include_once $coreFile) {
|
||||
$Reporter =& new $coreClass(null, $this->params);
|
||||
}
|
||||
}
|
||||
return $Reporter;
|
||||
|
|
Loading…
Add table
Reference in a new issue