removing whitespace

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5190 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-05-26 02:00:20 +00:00
parent be46c1fa4a
commit fbb3a73828

View file

@ -412,7 +412,7 @@ class ShellDispatcher {
} else {
$this->params['working'] = $root;
}
if(!empty($this->params['app'])) {
if($this->params['app']{0} == '/') {
$root = dirname($this->params['app']);
@ -424,7 +424,6 @@ class ShellDispatcher {
unset($this->params['app']);
}
if(in_array($app, array('cake', 'console')) || realpath($root.DS.$app) === dirname(dirname(dirname(__FILE__)))) {
$root = dirname(dirname(dirname(__FILE__)));
$app = 'app';