You are here

function search_files_help in Search Files 7.2

Same name and namespace in other branches
  1. 6.2 search_files.module \search_files_help()

Implements hook_help().

File

./search_files.module, line 11
Organizes and provides helper functions for extracting text from files.

Code

function search_files_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/config/search/search_files/helpers/autodetect':
      $output .= '<p>' . t('This will only work:') . '</p>';
      $output .= '<ul>';
      $output .= '<li>' . t('If PHP safemode is disabled (required by this module anyway)') . '</li>';
      $output .= '<li>' . t('If your web server is running Unix (Linux, BSD, Solaris, ...), not Windows (required "which" tool missing)') . '</li>';
      $output .= '<li>' . t('If the search PATH inside Apache/PHP environment is set to include the directories containing the helpers') . '</li>';
      $output .= '</ul>';
      break;
  }
  return $output;
}