public static function ShareaholicPublic::has_curl in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 public.php \ShareaholicPublic::has_curl()
Checks to see if curl is installed
Return value
bool true or false that curl is installed
1 call to ShareaholicPublic::has_curl()
- ShareaholicPublic::share_counts_api in ./
public.php - Function to handle the share count API requests
File
- ./
public.php, line 503
Class
- ShareaholicPublic
- This class is all about drawing the stuff in publishers' templates that visitors can see.
Code
public static function has_curl() {
return function_exists('curl_version') && function_exists('curl_multi_init') && function_exists('curl_multi_add_handle') && function_exists('curl_multi_exec');
}