From 5b1ac3e1ba9ad8c3fa79138a74f69d994d7edacd Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 6 Jul 2013 19:08:02 -0400 Subject: [PATCH] Add check on curl extension --- check_setup.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/check_setup.php b/check_setup.php index 0ddab58..056382e 100644 --- a/check_setup.php +++ b/check_setup.php @@ -37,6 +37,12 @@ if (! extension_loaded('pdo_sqlite')) { die('PHP extension required: pdo_sqlite'); } +// Check for curl +if (! function_exists('curl_init')) { + + die('PHP extension required: curl'); +} + // Check if /data is writeable if (! is_writable('data')) {