mirror of
https://github.com/mosbth/cimage.git
synced 2025-01-18 03:28:16 +01:00
adding test for curl
This commit is contained in:
parent
66db11974d
commit
160b426468
@ -7,9 +7,12 @@ echo 'Running on: ' . $_SERVER['SERVER_SOFTWARE'] . '<br><br>';
|
|||||||
$no = extension_loaded('gd') ? null : 'NOT';
|
$no = extension_loaded('gd') ? null : 'NOT';
|
||||||
echo "Extension gd is $no loaded.<br>";
|
echo "Extension gd is $no loaded.<br>";
|
||||||
|
|
||||||
$no = extension_loaded('exif') ? null : 'NOT';
|
|
||||||
echo "Extension exif is $no loaded.<br>";
|
|
||||||
|
|
||||||
if (!$no) {
|
if (!$no) {
|
||||||
echo "<pre>", var_dump(gd_info()), "</pre>";
|
echo "<pre>", var_dump(gd_info()), "</pre>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$no = extension_loaded('exif') ? null : 'NOT';
|
||||||
|
echo "Extension exif is $no loaded.<br>";
|
||||||
|
|
||||||
|
$no = extension_loaded('curl') ? null : 'NOT';
|
||||||
|
echo "Extension curl is $no loaded.<br>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user