[pmwiki-users] Page Statistics - counter-dba.php
Daniel Scheibler
pmwiki-users at scheiby.de
Fri Feb 11 09:53:05 CST 2005
Hello,
> I looked at the script, and there is a curious reference to
> Blug.HomePage on line 33:
> if ($key_ct == '$Group.$Name') $key_ct= 'Blug.HomePage';
> /* apache rewrite *
>
> The first page generates $Group.$Name, may be because of
> apache rewrite, I don't know. I my case it's correct to count
> the entry page.
I tried to change this to:
[...]
global $DefaultGroup;
global $DefaultName;
[...]
if ($key_ct == '$Group.$Name') {
$key_ct= $DefaultGroup . '.' . $DefaultName; /* apache rewrite */
}
[...]
Best,
Daniel Scheibler
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07.02.2005
More information about the pmwiki-users
mailing list