diff options
Diffstat (limited to 'lib/debug.lib.php')
-rw-r--r-- | lib/debug.lib.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/debug.lib.php b/lib/debug.lib.php index 4464447e..e49cb065 100644 --- a/lib/debug.lib.php +++ b/lib/debug.lib.php @@ -157,6 +157,21 @@ function check_php_pcre() { } // check_php_pcre /** + * check_php_curl + * This makes sure they have cURL (curl_???) support + * compiled into PHP this is optional + */ +function check_php_curl() { + + if (!extension_loaded('curl')) { + return false; + } + + return true; + +} // check_php_curl + +/** * check_config_values * checks to make sure that they have at least set the needed variables */ |