How to check if curl is enabled or disabled

Just return your existing check from a function.

function _isCurl(){
    return function_exists('curl_version');
}

Leave a Comment