You are here

function better_statistics_menu_alter in Better Statistics 7

Implements hook_menu_alter().

Redirects core's link to access log details page.

File

./better_statistics.module, line 52
Drupal hook implementations for the Better Statistics module.

Code

function better_statistics_menu_alter(&$items) {
  $items['admin/reports/access/%']['page callback'] = 'better_statistics_access_log';
  $items['admin/reports/access/%']['module'] = 'better_statistics';
  $items['admin/reports/access/%']['file'] = 'better_statistics.admin.inc';
}