Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory usw-pr-cvs1:/tmp/cvs-serv7446/plugin Modified Files: PhpWeather.php Log Message: fixed typos Index: PhpWeather.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/PhpWeather.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -2 -b -p -d -r1.2 -r1.3 --- PhpWeather.php 27 Aug 2002 21:55:55 -0000 1.2 +++ PhpWeather.php 30 Aug 2002 10:20:29 -0000 1.3 @@ -16,5 +16,5 @@ rcs_id('$Id PhpWeather.php 2002年08月26日 15 * <?plugin PhpWeather?> * <?plugin PhpWeather icao=KJFK ?> - * <?plugin PhpWeather icao=LOWG lang=en version=1.61 location=Graz-Thalerhof-Flughafen ?> + * <?plugin PhpWeather icao=LOWG language=en version=1.61 location=Graz-Thalerhof-Flughafen ?> */ @@ -22,5 +22,5 @@ rcs_id('$Id PhpWeather.php 2002年08月26日 15 // phpwiki, such as the plugin folder if (!defined('PHPWEATHER_FOLDER')) { - if (ereg('/sourceforge\.net/', SERVER_NAME)) { + if (preg_match('/sourceforge\.net/', SERVER_NAME)) { define('PHPWEATHER_FOLDER', '/home/groups/p/ph/phpwiki/htdocs/demo/lib/plugin/phpweather'); define('PHPWEATHER_VERSION', 1.92);