Update of /cvsroot/phpweather/phpweather
In directory usw-pr-cvs1:/tmp/cvs-serv8161
Modified Files:
phpweather.php
Log Message:
When we read the directory, we get the entries in a somewhat random
order. This gives a better display in the dropdown boxes.
Index: phpweather.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/phpweather.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- phpweather.php 26 Aug 2002 13:12:58 -0000 1.30
+++ phpweather.php 26 Aug 2002 13:15:23 -0000 1.31
@@ -87,7 +87,9 @@
}
closedir($dir);
}
-
+
+ asort($output);
+
return $output;
}
|