mirror of
https://github.com/e107inc/e107.git
synced 2025-03-13 17:09:46 +01:00
Issue #2779 - Statistics logging plugin throws fatal error
This commit is contained in:
parent
8f7cd55464
commit
3e9629420c
@ -163,8 +163,15 @@ class logConsolidate
|
||||
if (!isset($$varname)) $$varname = array(); // Create monthly arrays if they don't exist
|
||||
}
|
||||
|
||||
require($this->pathtologs.$this->pfileprev); // Yesterday's page accesses - $pageInfo array
|
||||
require($this->pathtologs.$this->ifileprev); // Yesterdays browser accesses etc
|
||||
if(file_exists($this->pathtologs.$this->pfileprev))
|
||||
{
|
||||
require($this->pathtologs.$this->pfileprev); // Yesterday's page accesses - $pageInfo array
|
||||
}
|
||||
|
||||
if(file_exists($this->pathtologs.$this->ifileprev))
|
||||
{
|
||||
require($this->pathtologs.$this->ifileprev); // Yesterdays browser accesses etc
|
||||
}
|
||||
|
||||
foreach($browserInfo as $name => $amount)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user