mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
be46c1fa4a
commit
fbb3a73828
1 changed files with 1 additions and 2 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue