mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
updating console paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5449 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
0519196d69
commit
0d999092d9
1 changed files with 2 additions and 2 deletions
|
@ -434,8 +434,8 @@ class ShellDispatcher {
|
|||
if ($this->params['app']{0} == '/') {
|
||||
$root = dirname($this->params['app']);
|
||||
$app = basename($this->params['app']);
|
||||
} else {
|
||||
$root = realpath($root . DS . $app);
|
||||
} else if (!empty($this->params['working'])) {
|
||||
$root = realpath($this->params['working']);
|
||||
}
|
||||
$app = $this->params['app'];
|
||||
unset($this->params['app']);
|
||||
|
|
Loading…
Add table
Reference in a new issue