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:
@@ -30,6 +30,7 @@ function get_okapi_settings()
|
|||||||
'DB_USERNAME' => $dbusername,
|
'DB_USERNAME' => $dbusername,
|
||||||
'DB_PASSWORD' => $dbpasswd,
|
'DB_PASSWORD' => $dbpasswd,
|
||||||
'SITELANG' => $lang,
|
'SITELANG' => $lang,
|
||||||
|
'TIMEZONE' => $timezone, # BTW, OCPL doesn't have it in settings.inc.php
|
||||||
'SITE_URL' => $absolute_server_URI,
|
'SITE_URL' => $absolute_server_URI,
|
||||||
'VAR_DIR' => $GLOBALS['rootpath'].'var',
|
'VAR_DIR' => $GLOBALS['rootpath'].'var',
|
||||||
'IMAGES_DIR' => rtrim($picdir, '/'),
|
'IMAGES_DIR' => rtrim($picdir, '/'),
|
||||||
|
|||||||
Reference in New Issue
Block a user