Skip to content

Commit

Permalink
needle in haystack fix for strpos($mystring, $findme)
Browse files Browse the repository at this point in the history
ref. #34
  • Loading branch information
jakoch committed Aug 9, 2016
1 parent 28f3bfb commit 7f9544a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhantomInstaller/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public static function getCdnUrl($version)
$url = strtolower($url);

// add version to URL when using "github.com/medium/phantomjs"
if(strpos('github.com/medium/phantomjs', $url) !== false) {
if(strpos($url, 'github.com/medium/phantomjs') !== false) {
return 'https://github.com/medium/phantomjs/releases/download/v'.$version.'/';
}

Expand Down

0 comments on commit 7f9544a

Please sign in to comment.