Index: themesite.class.php
===================================================================
--- themesite.class.php (revision 22462)
+++ themesite.class.php (working copy)
@@ -566,7 +566,7 @@
* For all .wps and .rwps, run checkwps of both release and current for
* all applicable targets
*/
- foreach(glob('.rockbox/wps/*wps') as $file) {
+ foreach(glob('.rockbox/wps/*.?wps') as $file) {
$p = $this->my_pathinfo($file);
$lcd = ($p['extension'] == 'rwps' ? $remotelcd : $mainlcd);
foreach(array('release', 'current') as $version) {
@@ -587,6 +587,7 @@
$result['pass'] = ($ret == 0);
$result['output'] = $output;
$return[$version][$shortname] = $result;
+ unset($output);
}
}
}