$tid = ($tid=~/(\d+)/)[0] || 0;
$mid = ($mid=~/(\d+)/)[0] || 0;
-my $cache = new Posting::Cache ($conf->{files}->{cacheFile});
+my $cache = new Posting::Cache ($conf->{files}->{cachePath});
my $hash;
if ($hash = $cache -> pick ({thread => $tid, posting => $mid})) {
cgi => $cgi,
tree => $tree,
voted => $voted || '',
- cachefile => $conf -> {files} -> {cacheFile}
+ cachepath => $conf -> {files} -> {cachePath}
}
);