diff options
author | Yorhel <git@yorhel.nl> | 2009-01-10 10:57:14 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-01-10 10:57:14 +0100 |
commit | 614d693c4995a0de58379ce8c0780454b5f6db61 (patch) | |
tree | dabff0c265e48ef824c67b4dfd3d6e0e2b500251 /util/vndb.pl | |
parent | 08b660429d294d5347cb853de78bc285d1cd2912 (diff) |
Popularity indicator on VN pages
Diffstat (limited to 'util/vndb.pl')
-rwxr-xr-x | util/vndb.pl | 3 |
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; } |