From dad537effedc51d7544e32a1b7b0ca70896d43af Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 31 Jan 2010 11:24:00 -0800 Subject: [PATCH] Update the timezone field to match the setting in system/config/locale.php. This fixes the "date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID '' is invalid" error. --- modules/gallery/config/locale.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gallery/config/locale.php b/modules/gallery/config/locale.php index 4789dc2b23..2d40175803 100644 --- a/modules/gallery/config/locale.php +++ b/modules/gallery/config/locale.php @@ -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