You are here

function hacked_system_info_alter in Hacked! 6

Implementation of hook_system_info_alter().

File

./hacked.module, line 634
The Hacked! module, shows which project have been changed since download.

Code

function hacked_system_info_alter(&$info, $file) {
  $info['_hacked_info_filename'] = $file->filename;
  if (is_dir(dirname($file->filename) . '/CVS')) {
    $info['_hacked_is_cvs_checkout'] = TRUE;
  }
  else {
    $info['_hacked_is_cvs_checkout'] = FALSE;
  }
}