includes/common.php
changeset 443 a48b72312f6d
parent 442 4da2dfc28728
child 458 c433348f3628
--- a/includes/common.php	Tue Jan 01 22:50:49 2008 -0500
+++ b/includes/common.php	Wed Jan 09 22:13:42 2008 -0500
@@ -60,7 +60,16 @@
 $_starttime = microtime_float();
 
 // Verbose error reporting
-error_reporting(E_ALL & ~E_STRICT);
+if ( defined('E_STRICT') )
+{
+  // PHP5, PHP6
+  error_reporting(E_ALL & ~E_STRICT);
+}
+else
+{
+  // PHP4
+  error_reporting(E_ALL);
+}
 
 //
 // Determine the location of Enano as an absolute path.