From 1766d40093abf386a868949d9ae2de44fae21dbf Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 23 Jan 2006 07:54:08 +0000 Subject: - Patch #44828 by chx/Crell: make sure the url/path is properly initialized in statistics_exit(). --- modules/statistics/statistics.module | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/statistics/statistics.module') diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index b46ae4c1a..17ade1d63 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -62,6 +62,8 @@ function statistics_help($section) { function statistics_exit() { global $user, $recent_activity; + drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH); + if (variable_get('statistics_count_content_views', 0)) { // We are counting content views. if ((arg(0) == 'node') && is_numeric(arg(1)) && arg(2) == '') { -- cgit v1.2.3