Fix bug 7715:
authorRobert Leverington <roberthl@users.mediawiki.org>
Wed, 28 May 2008 07:40:55 +0000 (07:40 +0000)
committerRobert Leverington <roberthl@users.mediawiki.org>
Wed, 28 May 2008 07:40:55 +0000 (07:40 +0000)
commit8e41f42b67cec4a6256080aea8a89c9e5b0ceb05
tree5e7c4761c83dc761240584a03a7fc4fc9b61f923
parent3de3fac63c3fce80e700d7a9d78c4dd115528dfd
Fix bug 7715:
* Add two conditional functions date_default_timezone_get() and date_default_timezone_set()
  which are created if they are not available (PHP <5.1.0).
* Replace setenv( TZ= ) and getenv( TZ ) calls with date_default_timezone_get( TZ ) and
  date_default_timezone_set( TZ ).
* Remove some warning supression calls, they were suppressing an E_STRICT level error that
  is thrown in PHP >5.1.0, however the above changes stop that error from ever occurring
  in the first place.
* Alter comment in DefaultSettings.php to refer to this function rather than the old
  method of using setenv().
* Add item to RELEASE-NOTES bug fixes section and fix line width of one item.
Based on attachment 2577 by nekocue.
RELEASE-NOTES
includes/DefaultSettings.php
includes/GlobalFunctions.php
includes/Parser.php
includes/Parser_OldPP.php