Skip to content

Commit

Permalink
Update serve command path (#23348)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla authored and taylorotwell committed Mar 1, 2018
1 parent 4380ac8 commit 3aaead1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/Console/ServeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ public function handle()
*/
protected function serverCommand()
{
return sprintf('%s -S %s:%s %s/server.php',
return sprintf('%s -S %s:%s %s',
ProcessUtils::escapeArgument((new PhpExecutableFinder)->find(false)),
$this->host(),
$this->port(),
ProcessUtils::escapeArgument(base_path())
ProcessUtils::escapeArgument(base_path('server.php'))
);
}

Expand Down

0 comments on commit 3aaead1

Please sign in to comment.