You are here

function _epsacrop_is_json2_exists in EPSA Crop - Image Cropping 6

Same name and namespace in other branches
  1. 8.2 epsacrop.module \_epsacrop_is_json2_exists()
  2. 6.2 epsacrop.module \_epsacrop_is_json2_exists()
  3. 7.2 epsacrop.module \_epsacrop_is_json2_exists()
1 call to _epsacrop_is_json2_exists()
epsacrop_requirements in ./epsacrop.install

File

./epsacrop.module, line 254
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;
}