summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-31 11:24:00 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-31 11:24:00 -0800
commitdad537effedc51d7544e32a1b7b0ca70896d43af (patch)
tree3d5b697dfe79505b043f3785dde768d88f03d3a8 /modules
parent359f6108b921938aa4445584b1e16c757467ae79 (diff)
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.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/config/locale.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/config/locale.php b/modules/gallery/config/locale.php
index 4789dc2b..2d401758 100644
--- a/modules/gallery/config/locale.php
+++ b/modules/gallery/config/locale.php
@@ -32,7 +32,7 @@ $config['language'] = array('en_US', 'English_United States');
* Locale timezone. Defaults to use the server timezone.
* @see http://php.net/timezones
*/
-$config['timezone'] = '';
+$config['timezone'] = ini_get('date.timezone');
// i18n settings