Revision: 1268
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1268&view=rev
Author:   jberanek
Date:     2009-11-14 21:35:57 +0000 (Sat, 14 Nov 2009)

Log Message:
-----------
* Added code to disable the E_DEPRECATED error class, due to our
 use of the 'is_dst' option in mktime() being deprecated in
 PHP >= 5.3.0.

Modified Paths:
--------------
    mrbs/trunk/web/systemdefaults.inc.php

Modified: mrbs/trunk/web/systemdefaults.inc.php
===================================================================
--- mrbs/trunk/web/systemdefaults.inc.php       2009-11-14 20:56:04 UTC (rev 
1267)
+++ mrbs/trunk/web/systemdefaults.inc.php       2009-11-14 21:35:57 UTC (rev 
1268)
@@ -731,6 +731,11 @@
 set_magic_quotes_runtime(0);
 
 // Make sure notice errors are not reported, they can break mrbs code:
-error_reporting (E_ALL ^ E_NOTICE);
+$error_level = E_ALL ^ E_NOTICE;
+if (constant("E_DEPRECATED"))
+{
+  $error_level = $error_level ^ E_DEPRECATED;
+}
+error_reporting ($error_level);
 
 ?>


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to