function _imageapi_imagemagick_validate_path in ImageAPI 5
File
- ./
imageapi_imagemagick.module, line 83 - ImageMagick toolkit functions
Code
function _imageapi_imagemagick_validate_path($element) {
if ($errors = _imageapi_imagemagick_check_path($element['#value'])) {
form_set_error($element['#parents'][0], implode('<br />', $errors));
//form_set_value($element['#parents'][0], variable_get('imageapi_imagemagick_convert', '/usr/bin/convert'));
return false;
}
return true;
}