Navigation Menu

Skip to content

Commit

Permalink
Fixed php_bin hardcoded path
Browse files Browse the repository at this point in the history
  • Loading branch information
izimobil committed Jan 14, 2013
1 parent fb1ad08 commit 3bf0804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Testing/DocTest/Runner/Default.php
Expand Up @@ -291,7 +291,7 @@ private function _exec(
putenv('DOCTEST_SCRIPT='.$testCase->file);
$php = $testCase->_shellOptions['php_wrapper'];
} else {
$php = substr('/usr/bin/php', 0, 1) == '@' ? 'php ' : 'php';
$php = substr('@php_bin@', 0, 1) == '@' ? 'php ' : 'php';
if (substr(PHP_OS, 0, 3) == 'WIN') {
$php = '"' . $php . '"';
}
Expand Down

0 comments on commit 3bf0804

Please sign in to comment.