mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Make path to router script absolute in server shell.
Relative paths fail when you run the server from inside app/Console or any other path.
This commit is contained in:
parent
abf1bd8d12
commit
95bc8be4d5
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class ServerShell extends AppShell {
|
|||
$this->_host,
|
||||
$this->_port,
|
||||
$this->_documentRoot,
|
||||
WEBROOT_DIR . '/index.php'
|
||||
WWW_ROOT . '/index.php'
|
||||
);
|
||||
|
||||
$port = ($this->_port == self::DEFAULT_PORT) ? '' : ':' . $this->_port;
|
||||
|
|
Loading…
Add table
Reference in a new issue