mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
Updating ShellDispatcher to use import() and new paths.
This commit is contained in:
parent
a76ce4af3d
commit
2cdbd67d7d
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ class ShellDispatcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!class_exists('Shell')) {
|
if (!class_exists('Shell')) {
|
||||||
require CONSOLE_LIBS . 'shell.php';
|
App::import('Shell', 'Shell');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!class_exists($this->shellClass)) {
|
if (!class_exists($this->shellClass)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue