WordPress.org

Make WordPress Core

Ticket #11665: 11665.diff

File 11665.diff, 437 bytes (added by Denis-de-Bernardy, 11 years ago)
  • wp-settings.php

     
    1919@ini_set('magic_quotes_sybase', 0);
    2020
    2121if ( function_exists('date_default_timezone_set') )
    22         date_default_timezone_set('UTC');
     22        date_default_timezone_set(ini_get('date.timezone') ? ini_get('date.timezone') : 'UTC');
    2323
    2424/**
    2525 * Turn register globals off.