--- init_php.php.orig   2007-07-31 18:14:02.000000000 +0200
+++ init_php.php        2007-07-31 18:14:11.000000000 +0200
@@ -130,7 +130,7 @@
 {
     // Set timezone if PHP version >= 5.1.0
     if (str_replace(".", "", phpversion()) >= 510) {
-        date_default_timezone_set(defined(DATE_TIMEZONE) ? DATE_TIMEZONE : "Canada/Eastern");
+        date_default_timezone_set(defined('DATE_TIMEZONE') ? DATE_TIMEZONE : "Canada/Eastern");
     }
 }
 

