Skip to content

Commit

Permalink
Merge pull request #12 from voku/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroendesloovere authored Jul 16, 2023
2 parents 3712172 + 8fba283 commit 019e6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Geolocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected function doCall(array $parameters = array())
curl_setopt($curl, CURLOPT_URL, $this->createUrl($parameters));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_TIMEOUT, 10);
if (ini_get('open_basedir') == '' && ini_get('safe_mode' == 'Off')) {
if (ini_get('open_basedir') == '' && ini_get('safe_mode') == 'Off') {
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
}

Expand Down

0 comments on commit 019e6e8

Please sign in to comment.