mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing wierd workflows in bake when project baking was aborted, it would ask if you wanted to create a database config file for the aborted app.
This commit is contained in:
parent
ad8cba41e6
commit
e6c58e8030
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ class BakeShell extends Shell {
|
|||
if (!is_dir($this->DbConfig->path)) {
|
||||
if ($this->Project->execute()) {
|
||||
$this->DbConfig->path = $this->params['working'] . DS . 'config' . DS;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue