mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
removing irrelevant error message, fixes #4051
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6529 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
ce4ea52136
commit
b3842566dc
1 changed files with 1 additions and 5 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue