Using PHP Variable for Timezone Setting Using PHP Variable for Timezone Setting
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Using PHP Variable for Timezone Setting

Started by pftq, February 20, 2007, 01:13:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pftq

I have a file that is included by everything on the site to determine the timezone.  Then I use the variable in the file, which is the timezone.

What file in Coppermine is associated with the timezone of the gallery? What I'm trying to do is have the timezone set to the PHP variable.

Something like: $coppermine_time=$timezone

Nibbler

Depends what you use as the timezone. If it's something like -5 then you can set $CONFIG['time_offset'] to that in init.inc.php

pftq

Thank you that's exactly what I wanted to know. :D