correct paths to Config dir

This commit is contained in:
AD7six 2011-05-16 21:52:25 +02:00
parent f3bd0faa94
commit fe2ec74b0e
5 changed files with 9 additions and 9 deletions

View file

@ -68,7 +68,7 @@ class BakeShell extends Shell {
if (!is_dir($this->DbConfig->path)) {
$path = $this->Project->execute();
if (!empty($path)) {
$this->DbConfig->path = $path . 'config' . DS;
$this->DbConfig->path = $path . 'Config' . DS;
} else {
return false;
}

View file

@ -440,7 +440,7 @@ class SchemaShell extends Shell {
);
$path = array(
'help' => __d('cake_console', 'Path to read and write schema.php'),
'default' => APP . 'Config' . 'Schema'
'default' => APP . 'Config' . DS . 'Schema'
);
$file = array(
'help' => __d('cake_console', 'File name to read and write.'),