[Fusionforge-commits] r10200 - trunk/src/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Thu Jul 8 10:34:44 CEST 2010


Author: lolando
Date: 2010-07-08 10:34:44 +0200 (Thu, 08 Jul 2010)
New Revision: 10200

Modified:
   trunk/src/common/include/pre.php
Log:
Use config API for timezone

Modified: trunk/src/common/include/pre.php
===================================================================
--- trunk/src/common/include/pre.php	2010-07-08 08:34:28 UTC (rev 10199)
+++ trunk/src/common/include/pre.php	2010-07-08 08:34:44 UTC (rev 10200)
@@ -170,7 +170,7 @@
 	require_once $gfcommon.'include/Jabber.class.php';
 }
 
-ini_set('date.timezone', $sys_default_timezone);
+ini_set('date.timezone', forge_get_config ('default_timezone'));
 
 if (isset($_SERVER['SERVER_SOFTWARE'])) { // We're on the web
 	// exit_error() and variants (for the web)




More information about the Fusionforge-commits mailing list