Add check on curl extension
This commit is contained in:
parent
d6c65bec9d
commit
5b1ac3e1ba
@ -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')) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user