You are here

function filefield_sources_curl_enabled in FileField Sources 7

Same name and namespace in other branches
  1. 8 filefield_sources.module \filefield_sources_curl_enabled()

Check for CURL extension enabled.

2 calls to filefield_sources_curl_enabled()
filefield_source_remote_info in sources/remote.inc
Implements hook_filefield_source_info().
filefield_source_remote_settings in sources/remote.inc
Implements hook_filefield_source_settings().

File

sources/remote.inc, line 413
A FileField extension to allow referencing of existing files.

Code

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