Passing proper TIMEZONE in okapi_settings.php

This is related to http://code.google.com/p/opencaching-api/issues/detail?id=177
This commit is contained in:
Wojciech Rygielski
2013-02-01 23:20:37 +01:00
parent 76b49ba84c
commit 19081b6d17

View File

@@ -30,6 +30,7 @@ function get_okapi_settings()
'DB_USERNAME' => $dbusername,
'DB_PASSWORD' => $dbpasswd,
'SITELANG' => $lang,
'TIMEZONE' => $timezone, # BTW, OCPL doesn't have it in settings.inc.php
'SITE_URL' => $absolute_server_URI,
'VAR_DIR' => $GLOBALS['rootpath'].'var',
'IMAGES_DIR' => rtrim($picdir, '/'),