Revision: 1561
http://mrbs.svn.sourceforge.net/mrbs/?rev=1561&view=rev
Author: cimorrison
Date: 2010-11-01 19:32:07 +0000 (Mon, 01 Nov 2010)
Log Message:
-----------
Added a check to see that $timezone is set to a valid timezone identifier
Modified Paths:
--------------
mrbs/trunk/web/functions.inc
Modified: mrbs/trunk/web/functions.inc
===================================================================
--- mrbs/trunk/web/functions.inc 2010-10-31 08:16:58 UTC (rev 1560)
+++ mrbs/trunk/web/functions.inc 2010-11-01 19:32:07 UTC (rev 1561)
@@ -11,7 +11,7 @@
{
if (function_exists("date_default_timezone_set"))
{
- date_default_timezone_set($timezone);
+ date_default_timezone_set($timezone) or die("Configuration error: invalid
timezone.");
}
else
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits