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:
gwoo 2007-08-25 18:00:19 +00:00
parent f851ceff9e
commit 85dca42d93
4 changed files with 8 additions and 4 deletions

View file

@ -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':