You are here

function filelog_ui_init in File Log 6.2

Implementation of hook_init()

File

./filelog_ui.module, line 26
Viewer UI for file based logging.

Code

function filelog_ui_init() {
  if (arg(0) == 'admin' && arg(1) == 'reports' && strpos(arg(2), 'filelog') === 0) {

    // Add the CSS for this module
    drupal_add_css(drupal_get_path('module', 'filelog_ui') . '/filelog-ui.css', 'module', 'all', FALSE);
  }
}