Author: chabotc
Date: Tue Dec 16 04:27:32 2008
New Revision: 727039
URL: http://svn.apache.org/viewvc?rev=727039&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/branches/1.0.x-incubating/php/index.php
incubator/shindig/branches/1.0.x-incubating/php/make-release.sh
Modified: incubator/shindig/branches/1.0.x-incubating/php/index.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/php/index.php?rev=727039&r1=727038&r2=727039&view=diff
==============================================================================
--- incubator/shindig/branches/1.0.x-incubating/php/index.php (original)
+++ incubator/shindig/branches/1.0.x-incubating/php/index.php Tue Dec 16
04:27:32 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');
Modified: incubator/shindig/branches/1.0.x-incubating/php/make-release.sh
URL:
http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/php/make-release.sh?rev=727039&r1=727038&r2=727039&view=diff
==============================================================================
--- incubator/shindig/branches/1.0.x-incubating/php/make-release.sh (original)
+++ incubator/shindig/branches/1.0.x-incubating/php/make-release.sh Tue Dec 16
04:27:32 2008
@@ -3,7 +3,7 @@
#### Settings, feel free to adjust these as required ####
VERSION=1.0.0
-NAME="shindig-${VERSION}"
+NAME="php-shindig-${VERSION}"
OPWD=`pwd`
#### Build a clean php-shindig tarball