Changeset 891

Show
Ignore:
Timestamp:
01/04/06 03:17:04 (7 years ago)
Author:
benoitg
Message:

2005-01-04 Benoit Gr�goire <bock@…>

  • config.php, common.php: Completely remove SYSTEM_PATH from config.php, making one less config option to manage. It is now autodetected.
Location:
trunk/wifidog-auth
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/ChangeLog

    r886 r891  
     12005-01-04 Benoit Grégoire  <bock@step.polymtl.ca> 
     2        * config.php, common.php:  Completely remove SYSTEM_PATH from config.php, making one less config option to manage.  It is now autodetected. 
     3 
    142006-01-03 Rob Janes <janes.rob@gmail.com> 
    25        * added support for classes/EventLogging.php. 
  • trunk/wifidog-auth/wifidog/config.php

    r887 r891  
    123123 
    124124/** 
    125  * Path of WiFiDOG auth server installation 
    126  * ======================================== 
    127  * 
    128  * SYSTEM_PATH must be set to the url path needed to reach the wifidog 
    129  * directory. 
    130  * 
    131  * Normally '/' or '/wifidog/', depending on where configure your 
    132  * document root. 
    133  * 
    134  * Gateway configuration must match this as well. 
    135  */ 
    136 define('SYSTEM_PATH', '/'); 
    137  
    138 /** 
    139125 * Use SSL 
    140126 * ======= 
  • trunk/wifidog-auth/wifidog/include/common.php

    r888 r891  
    4949cmnRequireConfig(); 
    5050 
     51 
     52/** 
     53 * Path of WiFiDOG auth server installation 
     54 * ======================================== 
     55 * 
     56 * SYSTEM_PATH must be set to the url path needed to reach the wifidog 
     57 * directory. 
     58 * 
     59 * Normally '/' or '/wifidog/', depending on where configure your 
     60 * document root. 
     61 * 
     62 * Gateway configuration must match this as well. 
     63 */ 
     64   $path_tmp = str_replace ( $_SERVER['DOCUMENT_ROOT'], '', __FILE__); 
     65   $path_tmp = str_replace ( 'include/common.php', '', $path_tmp); 
     66   define('SYSTEM_PATH', $path_tmp); 
     67   //echo SYSTEM_PATH;exit; 
    5168/** 
    5269 * Add system path of WiFiDog installation to PHPs include path