diff --git a/lib/Cake/Console/Command/ServerShell.php b/lib/Cake/Console/Command/ServerShell.php index 4ed517571..b850a6d31 100644 --- a/lib/Cake/Console/Command/ServerShell.php +++ b/lib/Cake/Console/Command/ServerShell.php @@ -130,7 +130,7 @@ class ServerShell extends AppShell { $this->_host, $this->_port, $this->_documentRoot, - WWW_ROOT . '/index.php' + $this->_documentRoot . '/index.php' ); $port = ($this->_port == self::DEFAULT_PORT) ? '' : ':' . $this->_port;