mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Issue #2779 - Statistics logging plugin throws fatal error
This commit is contained in:
@@ -163,8 +163,15 @@ class logConsolidate
|
|||||||
if (!isset($$varname)) $$varname = array(); // Create monthly arrays if they don't exist
|
if (!isset($$varname)) $$varname = array(); // Create monthly arrays if they don't exist
|
||||||
}
|
}
|
||||||
|
|
||||||
require($this->pathtologs.$this->pfileprev); // Yesterday's page accesses - $pageInfo array
|
if(file_exists($this->pathtologs.$this->pfileprev))
|
||||||
require($this->pathtologs.$this->ifileprev); // Yesterdays browser accesses etc
|
{
|
||||||
|
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)
|
foreach($browserInfo as $name => $amount)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user