Changeset 553

Show
Ignore:
Timestamp:
07/29/08 18:27:08 (4 months ago)
Author:
syrus
Message:

Correction du timezone

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wifidog/wifidog-auth/wifidog/include/init_php.php

    r395 r553  
    131131    // Set timezone if PHP version >= 5.1.0 
    132132    if (str_replace(".", "", phpversion()) >= 510) { 
    133         date_default_timezone_set(defined(DATE_TIMEZONE) ? DATE_TIMEZONE : "Canada/Eastern"); 
     133               date_default_timezone_set(defined('DATE_TIMEZONE') ? DATE_TIMEZONE : "Canada/Eastern"); 
    134134    } 
    135135}