mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
fixing shells formatting an api shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5582 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
f851ceff9e
commit
85dca42d93
4 changed files with 8 additions and 4 deletions
|
@ -108,7 +108,7 @@ class ApiShell extends Shell {
|
|||
|
||||
if ($File->exists()) {
|
||||
if (!class_exists($class)) {
|
||||
include($File->getFullPath());
|
||||
include($File->pwd());
|
||||
}
|
||||
if (class_exists($class)) {
|
||||
break;
|
||||
|
@ -223,6 +223,7 @@ class ApiShell extends Shell {
|
|||
loadComponent(null);
|
||||
break;
|
||||
case 'helper':
|
||||
uses('view'.DS.'helper');
|
||||
loadHelper(null);
|
||||
break;
|
||||
case 'model':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue