summaryrefslogtreecommitdiffstats
path: root/private/runcheckwps.php
blob: 627a23ee3c9932681be64b21f754d5d2e6a6758b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env php
<?php
$_SERVER['DOCUMENT_ROOT'] = "/home/rockbox/themes/www";
class preconfig {
    // The path to the private dir. Might be relative or absolute. Should
    // NOT be accessible through the webserver.
    const privpath = "/home/rockbox/themes/private/";
}

require_once('preamble.inc.php');
$results = $site->checkallthemes(0, 0);  // change the second '0' to '1' to check release too
?>