Skip to content
Permalink
Browse files

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.
  • Loading branch information...
markstory committed Feb 8, 2013
1 parent abf1bd8 commit 95bc8be4d55af936f18e8efcdbd492b52d958693
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Console/Command/ServerShell.php
@@ -129,7 +129,7 @@ public function main() {
$this->_host,
$this->_port,
$this->_documentRoot,
WEBROOT_DIR . '/index.php'
WWW_ROOT . '/index.php'
);
$port = ($this->_port == self::DEFAULT_PORT) ? '' : ':' . $this->_port;

0 comments on commit 95bc8be

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