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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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