Skip to content
Permalink
Browse files

Fixes a bug where server would not run when there are spaces in docum…

…entRoot.
  • Loading branch information...
uzyn committed Aug 6, 2013
1 parent c01aacf commit d9b99d059977504368d6cfe7547dbaaaa12a0fc2
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Console/Command/ServerShell.php
@@ -129,8 +129,8 @@ public function main() {
$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;

0 comments on commit d9b99d0

Please sign in to comment.
You can’t perform that action at this time.