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:
mark_story 2013-02-07 20:32:26 -05:00
parent abf1bd8d12
commit 95bc8be4d5

View file

@ -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;