mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 11:02:40 +00:00
correct paths to Config dir
This commit is contained in:
parent
f3bd0faa94
commit
fe2ec74b0e
5 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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.'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue