mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-03 18:12:40 +00:00
Fixes a bug where server would not run when there are spaces in documentRoot.
This commit is contained in:
parent
c01aacf72d
commit
d9b99d0599
1 changed files with 2 additions and 2 deletions
|
@ -129,8 +129,8 @@ class ServerShell extends AppShell {
|
|||
$command = sprintf("php -S %s:%d -t %s %s",
|
||||
$this->_host,
|
||||
$this->_port,
|
||||
$this->_documentRoot,
|
||||
$this->_documentRoot . '/index.php'
|
||||
escapeshellarg($this->_documentRoot),
|
||||
escapeshellarg($this->_documentRoot . '/index.php')
|
||||
);
|
||||
|
||||
$port = ($this->_port == self::DEFAULT_PORT) ? '' : ':' . $this->_port;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue