diff --git a/cake/console/libs/tasks/project.php b/cake/console/libs/tasks/project.php index 2bee1a9fb..d66f16cfe 100644 --- a/cake/console/libs/tasks/project.php +++ b/cake/console/libs/tasks/project.php @@ -67,7 +67,7 @@ class ProjectTask extends Shell { if($project) { if($project{0} == '/' || $project{0} == DS) { - $this->Dispatch->parseParams(array('-working', $project)); + $this->Dispatch->parseParams(array('-working', $project, '-app', false)); } else { $this->Dispatch->parseParams(array('-app', $project)); } @@ -110,10 +110,6 @@ class ProjectTask extends Shell { exit(); } - if (!is_dir($this->params['root'])) { - $this->err(__('The directory path you supplied was not found. Please try again.', true)); - } - if($this->bake($project)) { $path = Folder::slashTerm($project); if ($this->createHome($path)) {