Changed Server.php to be able to run on symfony 4.0+
This commit is contained in:
parent
ba8658d706
commit
2093eee156
@ -42,8 +42,8 @@ class Serve extends DauxCommand
|
|||||||
putenv('DAUX_CONFIGURATION=' . $daux->getParams()->getConfigurationOverrideFile());
|
putenv('DAUX_CONFIGURATION=' . $daux->getParams()->getConfigurationOverrideFile());
|
||||||
putenv('DAUX_EXTENSION=' . DAUX_EXTENSION);
|
putenv('DAUX_EXTENSION=' . DAUX_EXTENSION);
|
||||||
|
|
||||||
$base = ProcessUtils::escapeArgument(__DIR__ . '/../../');
|
$base = escapeshellarg(__DIR__ . '/../../');
|
||||||
$binary = ProcessUtils::escapeArgument((new PhpExecutableFinder)->find(false));
|
$binary = escapeshellarg((new PhpExecutableFinder)->find(false));
|
||||||
|
|
||||||
echo "Daux development server started on http://{$host}:{$port}/\n";
|
echo "Daux development server started on http://{$host}:{$port}/\n";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user