summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-11-12 19:11:36 +0100
committerRemi Collet <fedora@famillecollet.com>2014-11-12 19:11:36 +0100
commitb7eb38abcb04913dbd6b175fdc7e708e7d93c899 (patch)
tree1d2d08d0a463b6228444fbb465c5feef04290af2
parent927fed462be18d5964a1fec4af887e411f44f10b (diff)
checkpkgist: fix for timezone
-rwxr-xr-xcheckpkgist/checkpkgist.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/checkpkgist/checkpkgist.php b/checkpkgist/checkpkgist.php
index b282b88..e3cf4f2 100755
--- a/checkpkgist/checkpkgist.php
+++ b/checkpkgist/checkpkgist.php
@@ -32,6 +32,10 @@
require_once 'Cache/Lite.php';
+if (!ini_get('date.timezone')) {
+ ini_set('date.timezone', 'Europe/Paris');
+}
+
define ('VERSION', '1.0.0-dev');
class PkgClient {