Update of /cvsroot/phpweather/phpweather
In directory usw-pr-cvs1:/tmp/cvs-serv9884
Modified Files:
phpweather.php
Log Message:
This should be wrapped in a call to debug().
Index: phpweather.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/phpweather.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- phpweather.php 26 Mar 2002 16:29:32 -0000 1.20
+++ phpweather.php 27 Mar 2002 20:16:00 -0000 1.21
@@ -54,7 +54,7 @@
*/
function get_languages($type) {
require(PHPWEATHER_BASE_DIR . '/languages.php');
- echo "Finding language for $type\n";
+ $this->debug("Finding language for $type");
$dir = opendir(PHPWEATHER_BASE_DIR . '/output');
while($file = readdir($dir)) {
|