Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 95bc8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/ServerShell.php
Expand Up @@ -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;
Expand Down

0 comments on commit 95bc8be

Please sign in to comment.