Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement