function dblog_init

Implements hook_init().

File

modules/dblog/dblog.module, line 89

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');
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.