Add check on curl extension

This commit is contained in:
Frederic Guillot 2013-07-06 19:08:02 -04:00
parent d6c65bec9d
commit 5b1ac3e1ba

View File

@ -37,6 +37,12 @@ if (! extension_loaded('pdo_sqlite')) {
die('PHP extension required: 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 // Check if /data is writeable
if (! is_writable('data')) { if (! is_writable('data')) {