From 8e161f40798af59b1589eeb356f6e9f9c59718f3 Mon Sep 17 00:00:00 2001 From: gwoo Date: Tue, 15 May 2007 03:17:17 +0000 Subject: [PATCH] fix to paths in shell git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5100 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/console/cake.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cake/console/cake.php b/cake/console/cake.php index d01299e69..28973ee89 100644 --- a/cake/console/cake.php +++ b/cake/console/cake.php @@ -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']); }