mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Load AppShell class.
This commit is contained in:
parent
b3e1c2a9ee
commit
eecd91e99f
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ class ShellDispatcher {
|
||||||
$class = Inflector::camelize($shell) . 'Shell';
|
$class = Inflector::camelize($shell) . 'Shell';
|
||||||
|
|
||||||
App::uses('Shell', 'Console');
|
App::uses('Shell', 'Console');
|
||||||
|
App::uses('AppShell', 'Console');
|
||||||
App::uses($class, $plugin . 'Console/Command');
|
App::uses($class, $plugin . 'Console/Command');
|
||||||
|
|
||||||
if (!class_exists($class)) {
|
if (!class_exists($class)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue