mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
fix to paths in shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5100 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
4c9a9ebb31
commit
8e161f4079
1 changed files with 2 additions and 0 deletions
|
@ -408,6 +408,7 @@ class ShellDispatcher {
|
|||
if(!empty($this->params['working'])) {
|
||||
$root = dirname($this->params['working']);
|
||||
$app = basename($this->params['working']);
|
||||
unset($this->params['working']);
|
||||
}
|
||||
|
||||
if(!empty($this->params['app'])) {
|
||||
|
@ -418,6 +419,7 @@ class ShellDispatcher {
|
|||
$root = $root . DS . $app;
|
||||
$app = $this->params['app'];
|
||||
}
|
||||
unset($this->params['app']);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue