Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

mcuelenaere

By: a guest on Aug 22nd, 2009  |  syntax: None  |  size: 0.89 KB  |  views: 138  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.              }
clone this paste RAW Paste Data