function dblog_init

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!dblog!dblog.module/function/dblog_init/7.x