summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-01-10 10:57:14 +0100
committerYorhel <git@yorhel.nl>2009-01-10 10:57:14 +0100
commit614d693c4995a0de58379ce8c0780454b5f6db61 (patch)
treedabff0c265e48ef824c67b4dfd3d6e0e2b500251 /util
parent08b660429d294d5347cb853de78bc285d1cd2912 (diff)
Popularity indicator on VN pages
Diffstat (limited to 'util')
-rwxr-xr-xutil/vndb.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/vndb.pl b/util/vndb.pl
index 8ad89d1f..fef5a438 100755
--- a/util/vndb.pl
+++ b/util/vndb.pl
@@ -52,6 +52,9 @@ sub reqinit {
$ENV{HTTP_REFERER} = $ENV{REQUEST_URI};
$ENV{REQUEST_URI} = '/we-dont-like-ie6';
}
+
+ # load some stats (used for about all pageviews, anyway)
+ $self->{stats} = $self->dbStats;
}