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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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