Revision: 1317
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1317&view=rev
Author:   cimorrison
Date:     2010-03-31 08:10:31 +0000 (Wed, 31 Mar 2010)

Log Message:
-----------
Added a check to see if $timezone has been set.  If not, MRBS halts with a 
configuration error.   Designed to prevent sites running into possible DST 
problems.

Modified Paths:
--------------
    mrbs/trunk/web/functions.inc

Modified: mrbs/trunk/web/functions.inc
===================================================================
--- mrbs/trunk/web/functions.inc        2010-03-28 17:03:31 UTC (rev 1316)
+++ mrbs/trunk/web/functions.inc        2010-03-31 08:10:31 UTC (rev 1317)
@@ -18,6 +18,11 @@
     putenv("TZ=$timezone");
   }
 }
+else
+{
+  // to prevent people running into DST problems
+  die('Configuration error: $timezone has not been set.');
+}
 
 // Deal with $private_xxxx overrides.  Simplifies
 // logic related to private bookings.


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to