2012-04-05, 10:15:44
Error found.
I'd recommend updating line 83 of hitcount.php to
The original line is
Note that without the period in the regex, it can't correctly return hits on files.
I'd recommend updating line 83 of hitcount.php to
Code:
$hits = @file(GSDATAOTHERPATH . HITCOUNT_DIR . 'hits_' . preg_replace('/[^A-Za-z0-9.-]+/','_',$slugOrFile) . '.txt');
The original line is
Code:
$hits = @file(GSDATAOTHERPATH . HITCOUNT_DIR . 'hits_' . preg_replace('/[^A-Za-z0-9-]+/','_',$slugOrFile) . '.txt');
Note that without the period in the regex, it can't correctly return hits on files.