image_gd_check_settings
- Versions
- 4.6 – 7
image_gd_check_settings()
Verify GD2 settings (that the right version is actually installed).
Return value
boolean
Code
includes/image.inc, line 192
<?php
function image_gd_check_settings() {
if ($check = get_extension_funcs('gd')) {
if (in_array('imagegd2', $check)) {
// GD2 support is available.
return true;
}
}
return false;
}
?>Login or register to post comments 