]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- allow APP_DEFAULT_TIMEZONE being defined in setup.php
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 17 Feb 2005 23:41:43 +0000 (23:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-default-TZ.patch -> 1.1

eventum-default-TZ.patch [new file with mode: 0644]

diff --git a/eventum-default-TZ.patch b/eventum-default-TZ.patch
new file mode 100644 (file)
index 0000000..ee42ba3
--- /dev/null
@@ -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);
This page took 0.108925 seconds and 4 git commands to generate.