News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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