Changeset 942

Show
Ignore:
Timestamp:
02/06/06 16:04:21 (3 years ago)
Author:
benoitg
Message:

Fix a bunch of file inclusion bugs in the statistics subsystem.

This is only a ad-hac fix. It seems the requires for just about every class have been stripped off.
This must be fixed, all classes should require_once all classes or include that they need that isn't
included by a parent class.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wifidog-auth/CHANGELOG

    r940 r942  
     12006-02-07 Benoit Grégoire  <bock@step.polymtl.ca> 
     2        * Fix a bunch of file inclusion bugs in the statistics subsystem.   
     3        This is only a ad-hac fix.  It seems the requires for just about every class have been stripped off. 
     4        This must be fixed, all classes should require_once all classes or include that they need that isn't  
     5        included by a parent class. 
     6         
    172006-02-06 Benoit Grégoire  <bock@step.polymtl.ca> 
    28        * wifidog/local_content/default/hotspot_logo.jpg: Delete deprecated file 
     
    2935        * updated installation file to represent all the new modules that can be 
    3036          installed to use all WiFiDog features 
    31  
     37         
    32382006-01-31 Benoit Grégoire  <bock@step.polymtl.ca> 
    3339        * path_defines_base.php:  Fix syntax errors in the exception thrown.  Add more meaningfull output 
  • trunk/wifidog-auth/wifidog/admin/stats_show_graph.php

    r914 r942  
    4646 * @link       http://www.wifidog.org/ 
    4747 */ 
     48require_once ('../include/path_defines_base.php'); 
    4849 
    4950if (empty($_REQUEST['graph_class'])) { 
  • trunk/wifidog-auth/wifidog/classes/StatisticGraph.php

    r915 r942  
    4747 */ 
    4848require_once('classes/Statistics.php'); 
    49  
     49require_once('classes/Session.php'); 
    5050/** 
    5151 * An abstract class.  All statistics must inherit from this class 
  • trunk/wifidog-auth/wifidog/classes/Statistics.php

    r930 r942  
    5151 * @copyright  2004-2006 Benoit Gregoire, Technologies Coeus inc. 
    5252 */ 
     53  
     54 require_once('include/common.php'); 
    5355class Statistics 
    5456{