Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 9c64ee26 authored by Miha Petkovsek's avatar Miha Petkovsek Committed by GitHub
Browse files

Merge pull request #1733 from cyberjacob/fix-binary-detection

Use PHP_BINARY instead of PHP_BINDIR to detect the php executable
parents 2fa49748 1cd014ae
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ class Scan extends Common_functions {
* @return void
*/
private function set_php_exec () {
$this->php_exec = $this->os_type=="Windows" ? PHP_BINARY : PHP_BINDIR."/php";
$this->php_exec = PHP_BINARY;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment