The notice about safe mode did it. Thank you, obviously my webhosting
account is running in safe mode. Should I generally deactivate it?
--robert
2010/9/15 Sullivan, James (NIH/CIT) [C] <sullivan(a)mail.nih.gov>
I use the following:
## Set Default Timezone
$wgLocaltimezone = "America/New_York";
$oldtz = getenv("TZ");
putenv("TZ=$wgLocaltimezone");
$wgLocalTZoffset = date("Z") / 60;
putenv("TZ=$oldtz");
That's east coast time by the way.
Also, are you running PHP in "safe mode"? If so you need to see this:
http://www.mediawiki.org/wiki/Safe_mode#Setting_time_zone_in_safe_mode
-Jim
-----Original Message-----
From: orschiro(a)googlemail.com [mailto:orschiro@googlemail.com]
Sent: Wednesday, September 15, 2010 1:25 AM
To: zak(a)fooassociates.com; MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Set the correct timezone
It's a 1.16.0.
I reread the manual and obviously had missunderstand it the first time. I
need to add also the following right?
$wgLocalTZoffset = date("Z") / 60;putenv("TZ=$oldtz");
Well it still doesn't work...
--robert
2010/9/14 Zak Greant (Foo Associates) <zak(a)fooassociates.com>
On Tue, Sep 14, 2010 at 05:58,
<orschiro(a)googlemail.com> wrote:
> I want to set the correct timezone for my wiki as all logs are two
hours
behind.
So I declared the following in LocalSettings but there's no
change.
...
What version of MediaWiki are you trying to configure?
--zak
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l