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:
mark_story 2009-10-30 22:08:06 -04:00
parent ad8cba41e6
commit e6c58e8030

View file

@ -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;
}
}