function _epsacrop_is_json2_exists in EPSA Crop - Image Cropping 8.2
Same name and namespace in other branches
- 6.2 epsacrop.module \_epsacrop_is_json2_exists()
- 6 epsacrop.module \_epsacrop_is_json2_exists()
- 7.2 epsacrop.module \_epsacrop_is_json2_exists()
Check if json2.js is findable.
@access private
Return value
void
1 call to _epsacrop_is_json2_exists()
- epsacrop_requirements in ./
epsacrop.install - Implementation of hook_requirements.
File
- ./
epsacrop.module, line 626 - The main file of module
Code
function _epsacrop_is_json2_exists() {
if (file_exists(EPSACROP_JSON2_PATH . '/json2.js')) {
return TRUE;
}
drupal_set_message(t('Could be find the json2.js file, check your install'), 'error');
return FALSE;
}