Skip to content

Commit

Permalink
Update the timezone field to match the setting in
Browse files Browse the repository at this point in the history
system/config/locale.php.  This fixes the "date_default_timezone_set()
[function.date-default-timezone-set]: Timezone ID '' is invalid" error.
  • Loading branch information
bharat committed Jan 31, 2010
1 parent 359f610 commit dad537e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gallery/config/locale.php
Expand Up @@ -32,7 +32,7 @@
* Locale timezone. Defaults to use the server timezone.
* @see http://php.net/timezones
*/
$config['timezone'] = '';
$config['timezone'] = ini_get('date.timezone');

// i18n settings

Expand Down

0 comments on commit dad537e

Please sign in to comment.