You are here

function feedback_init in Feedback 6.2

Implementation of hook_init().

File

./feedback.module, line 44
Allows site visitors and users to report issues about this site.

Code

function feedback_init() {
  if (user_access('access feedback form')) {
    $path = drupal_get_path('module', 'feedback');
    drupal_add_css($path . '/feedback.css');
    drupal_add_js($path . '/feedback.js');
  }
}