Author: chabotc
Date: Tue Dec 16 04:27:46 2008
New Revision: 727040

URL: http://svn.apache.org/viewvc?rev=727040&view=rev
Log:
Suppress warnings that would break the social-api when no default timezone is 
configured (it now assumes UTC is no TZ is set)

Modified:
    incubator/shindig/trunk/php/index.php

Modified: incubator/shindig/trunk/php/index.php
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/index.php?rev=727040&r1=727039&r2=727040&view=diff
==============================================================================
--- incubator/shindig/trunk/php/index.php (original)
+++ incubator/shindig/trunk/php/index.php Tue Dec 16 04:27:46 2008
@@ -18,6 +18,10 @@
  * under the License.
  */
 
+// Some people forget to set their timezone in their php.ini,
+// this prevents that from generating warnings
+...@date_default_timezone_set(@date_default_timezone_get());
+
 include_once ('src/common/Config.php');
 include_once ('src/common/File.php');
 


Reply via email to