diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-23 07:54:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-23 07:54:08 +0000 |
commit | 1766d40093abf386a868949d9ae2de44fae21dbf (patch) | |
tree | cfe6f5d7fa3958266684dcc4095c7bf5fdf9aca4 /modules/statistics | |
parent | ca9f0fab45823c49947b218587b9c9ef92aff60c (diff) | |
download | brdo-1766d40093abf386a868949d9ae2de44fae21dbf.tar.gz brdo-1766d40093abf386a868949d9ae2de44fae21dbf.tar.bz2 |
- Patch #44828 by chx/Crell: make sure the url/path is properly initialized in statistics_exit().
Diffstat (limited to 'modules/statistics')
-rw-r--r-- | modules/statistics/statistics.module | 2 |
1 files changed, 2 insertions, 0 deletions
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) == '') { |