install date.timezone from php.ini
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 11 Feb 2011 10:35:27 +0000 (11:35 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 11 Feb 2011 10:35:27 +0000 (11:35 +0100)
planetlab/includes/plc_functions.php

index f007cda..43a384d 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
-// $Id$
+// install the default timezone as defined in php.ini
+date_default_timezone_set(ini_get('date.timezone'));
 
 # note: this needs to be consistent with the value in Monitor/monitor/wrapper/plc.py
 global $PENDING_CONSORTIUM_ID;