cvs: pear /Services_Weather/examples metar-basic.php
| From: | Alexander Wirtz | Date: | Wed, 01 Oct 2003 13:30:36 +0000 |
| Subject: | cvs: pear /Services_Weather/examples metar-basic.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13229@lists.php.net to get a copy of this message | ||
eru Wed Oct 1 09:30:36 2003 EDT
Modified files:
/pear/Services_Weather/examples metar-basic.php
Log:
*Replaced old Science_ stuff
Index: pear/Services_Weather/examples/metar-basic.php
diff -u pear/Services_Weather/examples/metar-basic.php:1.1
pear/Services_Weather/examples/metar-basic.php:1.2
--- pear/Services_Weather/examples/metar-basic.php:1.1 Wed Oct 1 09:12:06 2003
+++ pear/Services_Weather/examples/metar-basic.php Wed Oct 1 09:30:36 2003
@@ -16,11 +16,11 @@
// | Authors: Alexander Wirtz <alex@pc4p.net> |
// +----------------------------------------------------------------------+
//
-// $Id: metar-basic.php,v 1.1 2003/10/01 13:12:06 eru Exp $
+// $Id: metar-basic.php,v 1.2 2003/10/01 13:30:36 eru Exp $
-require_once "Science/Weather.php";
+require_once "Services/Weather.php";
-$metar = &Science_Weather::service("METAR", array("debug" => 2));
+$metar = &Services_Weather::service("METAR", array("debug" => 2));
$metar->setUnitsFormat("metric");
$metar->setDateTimeFormat("d.m.Y", "H:i");