Hey Jidanni, you can just eliminate your whole
>date_default_timezone_set($wgLocaltimezone); 
>putenv("TZ=$wgLocaltimezone");$wgLocalTZoffset=date('Z')/60;
line. It's already taken care of for you in includes/Setup.php !
You don't even need to reinstall Mediawiki just to find out how they do
it in the current generated LocalSettings.php .
Don't worry. The next time your wiki stops working because something
needs to be updated in LocalSettings.php just look at the...

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to