Skip to content

Commit

Permalink
Debug v21
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 15, 2025
1 parent f3eec99 commit 45321f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions htdocs/core/lib/geturl.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ function getURLContent($url, $postorget = 'GET', $param = '', $followlocation =

dol_syslog("getURLContent postorget=".$postorget." URL=".$url." param=".$param);

if (!function_exists('curl_init')) {
return array('curl_error_no' => 'PHP curl lib not available', 'curl_error_msg' => 'PHP curl library must be installed');
}

//setting the curl parameters.
$ch = curl_init();

Expand Down

0 comments on commit 45321f9

Please sign in to comment.