Author: glen                         Date: Thu Feb 17 23:41:48 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- allow APP_DEFAULT_TIMEZONE being defined in setup.php

---- Files affected:
SOURCES:
   eventum-default-TZ.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/eventum-default-TZ.patch
diff -u /dev/null SOURCES/eventum-default-TZ.patch:1.1
--- /dev/null   Fri Feb 18 00:41:48 2005
+++ SOURCES/eventum-default-TZ.patch    Fri Feb 18 00:41:43 2005
@@ -0,0 +1,13 @@
+--- ./include/class.date.php~  2005-02-15 23:50:44.000000000 +0200
++++ ./include/class.date.php   2005-02-18 00:34:59.000000000 +0200
+@@ -43,7 +43,9 @@
+ include_once(APP_INC_PATH . "class.prefs.php");
+ include_once(APP_PEAR_PATH . "Date.php");
+ 
+-define('APP_DEFAULT_TIMEZONE', 'UTC');
++if (!defined(APP_DEFAULT_TIMEZONE)) {
++    define('APP_DEFAULT_TIMEZONE', 'UTC');
++}
+ define("SECOND", 1);
+ define("MINUTE", SECOND * 60);
+ define("HOUR", MINUTE * 60);
================================================================

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to