X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Fstats.mc;h=5d93b46074ca89d4f8956f503ee8c84fd3dc1c92;hb=a5dd8537772021ab6cd0d5221462feed60015ddc;hp=c01c302389693de990641d595e6f3e070083f5c3;hpb=f0fdca605ed4f91788488b52780a8683bc28716e;p=irspy-moved-to-github.git diff --git a/web/htdocs/details/stats.mc b/web/htdocs/details/stats.mc index c01c302..5d93b46 100644 --- a/web/htdocs/details/stats.mc +++ b/web/htdocs/details/stats.mc @@ -1,4 +1,3 @@ -%# $Id: stats.mc,v 1.9 2007-11-02 12:49:28 mike Exp $ <%doc> Here are the headings in the Z-Spy version: The ten most commonly supported Bib-1 Use attributes @@ -27,7 +26,8 @@ my $from_cache = 1; my $stats = $m->cache->get($key); if (!defined $stats || $reload) { $from_cache = 0; - $stats = new ZOOM::IRSpy::Stats("localhost:8018/IR-Explain---1", $query); + my $db = ZOOM::IRSpy::connect_to_registry(); + $stats = new ZOOM::IRSpy::Stats($db, $query); $m->cache->set($key, $stats, "1 day"); }