Dotclear


Ignore:
Timestamp:
09/23/14 09:07:39 (11 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Fix issue ; failed to detect timezone for example, CEST.
Close #1993

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/install/index.php

    r2507 r2752  
    9797                    if ($_tz instanceof DateTimeZone) { 
    9898                         $_tz = @timezone_name_get($_tz); 
    99                          if ($_tz) { 
     99 
     100                         // check if timezone is valid 
     101                         // date_default_timezone_set throw E_NOTICE and/or E_WARNING if timezone is not valid and return false 
     102                         if (@date_default_timezone_set($_tz)!==false && $_tz) { 
    100103                              $default_tz = $_tz; 
    101104                         } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map