cvs: pear /Services_Weather Weather.php
| From: | Alexander Wirtz | Date: | Thu, 13 Oct 2005 08:04:58 +0000 |
| Subject: | cvs: pear /Services_Weather Weather.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35489@lists.php.net to get a copy of this message | ||
eru Thu Oct 13 04:04:58 2005 EDT
Modified files:
/pear/Services_Weather Weather.php
Log:
Fixed wrong cache-time for locations
http://cvs.php.net/diff.php/pear/Services_Weather/Weather.php?r1=1.33&r2=1.34&ty=u
Index: pear/Services_Weather/Weather.php
diff -u pear/Services_Weather/Weather.php:1.33 pear/Services_Weather/Weather.php:1.34
--- pear/Services_Weather/Weather.php:1.33 Thu Oct 13 03:59:15 2005
+++ pear/Services_Weather/Weather.php Thu Oct 13 04:04:55 2005
@@ -23,7 +23,7 @@
* @author Alexander Wirtz <alex@pc4p.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Weather.php,v 1.33 2005/10/13 07:59:15 eru Exp $
+ * @version CVS: $Id: Weather.php,v 1.34 2005/10/13 08:04:55 eru Exp $
* @link http://pear.php.net/package/Services_Weather
* @filesource
*/
@@ -31,7 +31,7 @@
// {{{ constants
// {{{ cache times
define("SERVICES_WEATHER_EXPIRES_UNITS", 900);
-define("SERVICES_WEATHER_EXPIRES_LOCATION", 900);
+define("SERVICES_WEATHER_EXPIRES_LOCATION", 43200);
define("SERVICES_WEATHER_EXPIRES_WEATHER", 1800);
define("SERVICES_WEATHER_EXPIRES_FORECAST", 7200);
define("SERVICES_WEATHER_EXPIRES_LINKS", 43200);