We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e727d commit 0e10f20Copy full SHA for 0e10f20
src/Server.php
@@ -21,11 +21,12 @@ public function __construct($port, $host)
21
$this->port = $port;
22
$this->host = $host;
23
$packageRoot = __DIR__ . '/../';
24
+ $packagePath = escapeshellarg($packageRoot . 'public/index.php');
25
parent::__construct(
26
sprintf(
- 'exec php -dalways_populate_raw_post_data=-1 -derror_log= -S %s -t public/ %spublic/index.php',
27
+ 'exec php -dalways_populate_raw_post_data=-1 -derror_log= -S %s -t public/ %s',
28
$this->getConnectionString(),
- $packageRoot
29
+ $packagePath
30
),
31
$packageRoot
32
);
0 commit comments