News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

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 2 Guests 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