mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Update ServerShell to use provided documentRoot.
Fix ServerShell from using the wrong path to the routing script when a custom document root is used. Thanks to Marko Marković for the patch. Fixes #3909
This commit is contained in:
parent
2918ae9c7a
commit
cfa260d8c5
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class ServerShell extends AppShell {
|
|||
$this->_host,
|
||||
$this->_port,
|
||||
$this->_documentRoot,
|
||||
WWW_ROOT . '/index.php'
|
||||
$this->_documentRoot . '/index.php'
|
||||
);
|
||||
|
||||
$port = ($this->_port == self::DEFAULT_PORT) ? '' : ':' . $this->_port;
|
||||
|
|
Loading…
Add table
Reference in a new issue