summaryrefslogtreecommitdiffstats
path: root/checkpkgist.php
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
commit4089df62ebadf3a76d99ba87e73b1f245c66a72b (patch)
treef84dd53034e46d32199859f99800a0553593c652 /checkpkgist.php
parent5f543f139d87f3988f01d9316f70026c0b9e683a (diff)
checkpkgist: fix for timezone
Diffstat (limited to 'checkpkgist.php')
-rwxr-xr-xcheckpkgist.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/checkpkgist.php b/checkpkgist.php
index b282b88..e3cf4f2 100755
--- a/checkpkgist.php
+++ b/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 {