Skip to content

Commit

Permalink
Fixed windows DIRECTORY_SEPARATOR issue
Browse files Browse the repository at this point in the history
  • Loading branch information
linslin committed Mar 3, 2017
1 parent ed1ba3c commit 51cb3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extension/PhiremockProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class PhiremockProcess
*/
public function start($ip, $port, $path, $logsPath, $debug)
{
$phiremockPath = is_file($path) ? $path : "{$path}/phiremock";
$phiremockPath = is_file($path) ? $path : "{$path}".DIRECTORY_SEPARATOR."phiremock";
if ($debug) {
echo 'Running ' . $this->getCommandPrefix()
. "{$phiremockPath} -i {$ip} -p {$port}"
Expand Down

0 comments on commit 51cb3d0

Please sign in to comment.