-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing config.yml param "bin_path" - bin path is now undepending on t… #6
Conversation
…he running OS and get converted.
Hey @linslin, thank you for your help with this project. |
Oh yea, you are right. Let me try again. |
Allright, conflict should be solved. |
@@ -47,6 +47,7 @@ class PhiremockProcess | |||
*/ | |||
public function start($ip, $port, $path, $logsPath, $debug) | |||
{ | |||
$path = realpath($path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about adding the call to realpath when the start method is being called in Phiremock.php file? That way, this method is agnostic about how the path is built.
Would also be great to call it for logsPath variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutly, we thought about the logFilePathe too but we needed a quick fix for the bin_path first. You are more familiar with your codes, so please decide it by yourself. =)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Will merge it and later move it outside the method also for logspath.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thx m8. Followed you up =)
An other windows fix, could you please check if this still works on unix? - linslin/Yii2-Curl#57