function exif_requirements in Exif 6
Same name and namespace in other branches
- 8.2 exif.install \exif_requirements()
- 8 exif.install \exif_requirements()
- 7 exif.install \exif_requirements()
File
- ./
exif.install, line 13 - the install part of the module
Code
function exif_requirements($phase) {
$t = get_t();
if ($phase == 'runtime' || $phase == 'install') {
if (!function_exists('exif_read_data')) {
$requirements['exif_read_data'] = array(
'title' => $t('Function exif_read_data not available'),
'value' => $t('The Function exif_read_data is not available on the system.'),
'severity' => REQUIREMENT_ERROR,
);
}
}
return $requirements;
}