projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unicode bug #3390: uri_escape -> uri_escape_utf8
[irspy-moved-to-github.git]
/
web
/
htdocs
/
details
/
stats.mc
diff --git
a/web/htdocs/details/stats.mc
b/web/htdocs/details/stats.mc
index
c01c302
..
f44c349
100644
(file)
--- a/
web/htdocs/details/stats.mc
+++ b/
web/htdocs/details/stats.mc
@@
-27,7
+27,8
@@
my $from_cache = 1;
my $stats = $m->cache->get($key);
if (!defined $stats || $reload) {
$from_cache = 0;
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");
}
</%perl>
$m->cache->set($key, $stats, "1 day");
}
</%perl>