X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;h=39b529cefe1a6456187d11a42d54d49bb416e2ca;hp=122c399b63344b8f40d6d691e03ad5595c215841;hb=08f71340279dbcee1dfcccceef90a024cf4ed5fe;hpb=a11ff28997fb00adf9e4a77ccab5648238a65710 diff --git a/web/staticall.php b/web/staticall.php index 122c399b..39b529ce 100644 --- a/web/staticall.php +++ b/web/staticall.php @@ -4,9 +4,9 @@ include('logo.html'); include('menulist.html'); include('static-configuration'); -$tarballsize=round((filesize($argv[2]."/ccan.tar.bz2") + 1023) / 1024); +$tarballsize=round((filesize($argv[3]."/ccan.tar.bz2") + 1023) / 1024); ?> - +

List of all CCAN modules:

@@ -16,7 +16,7 @@ download.

-Or you can just download the tarball of everything (K). +Or you can just download the tarball of everything including CCAN tools (K).

@@ -25,13 +25,7 @@ Or you can just download the tarball of everything (Download read())) { - if ($entry[0] != '.') { - array_push($modules, $entry); - } -} +$modules = array_slice($argv, 4); sort($modules); foreach ($modules as $module) { @@ -49,7 +43,6 @@ foreach ($modules as $module) { close(); ?>
@@ -77,5 +70,5 @@ foreach ($dirs as $dir) { $d->close(); ?> -
+