[Mapbender-commits] r8223 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Nov 30 10:52:32 EST 2011
Author: armin11
Date: 2011-11-30 07:52:31 -0800 (Wed, 30 Nov 2011)
New Revision: 8223
Modified:
trunk/mapbender/http/classes/class_twitter.php
Log:
Bugfix - don't include twitter.conf by default, only if TWITTER_NEWS is true.
Modified: trunk/mapbender/http/classes/class_twitter.php
===================================================================
--- trunk/mapbender/http/classes/class_twitter.php 2011-11-30 10:04:17 UTC (rev 8222)
+++ trunk/mapbender/http/classes/class_twitter.php 2011-11-30 15:52:31 UTC (rev 8223)
@@ -1,6 +1,8 @@
<?php
require_once(dirname(__FILE__)."/../../core/globalSettings.php");
-require_once(dirname(__FILE__)."/../../conf/twitter.conf");
+if (TWITTER_NEWS) {
+ require_once(dirname(__FILE__)."/../../conf/twitter.conf");
+}
require_once(dirname(__FILE__)."/../extensions/tmhOAuth/tmhOAuth.php");
/**
More information about the Mapbender_commits
mailing list