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:
gwoo 2007-07-22 03:23:32 +00:00
parent 0519196d69
commit 0d999092d9

View file

@ -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']);