You are here

function dblog_init in Drupal 7

Same name and namespace in other branches
  1. 6 modules/dblog/dblog.module \dblog_init()

Implements hook_init().

File

modules/dblog/dblog.module, line 89
System monitoring and logging for administrators.

Code

function dblog_init() {
  if (arg(0) == 'admin' && arg(1) == 'reports') {

    // Add the CSS for this module
    drupal_add_css(drupal_get_path('module', 'dblog') . '/dblog.css');
  }
}