Advertisement
Guest User

mcuelenaere

a guest
Aug 22nd, 2009
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. Index: themesite.class.php
  2. ===================================================================
  3. --- themesite.class.php (revision 22462)
  4. +++ themesite.class.php (working copy)
  5. @@ -566,7 +566,7 @@
  6. * For all .wps and .rwps, run checkwps of both release and current for
  7. * all applicable targets
  8. */
  9. - foreach(glob('.rockbox/wps/*wps') as $file) {
  10. + foreach(glob('.rockbox/wps/*.?wps') as $file) {
  11. $p = $this->my_pathinfo($file);
  12. $lcd = ($p['extension'] == 'rwps' ? $remotelcd : $mainlcd);
  13. foreach(array('release', 'current') as $version) {
  14. @@ -587,6 +587,7 @@
  15. $result['pass'] = ($ret == 0);
  16. $result['output'] = $output;
  17. $return[$version][$shortname] = $result;
  18. + unset($output);
  19. }
  20. }
  21. }
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement