X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;h=85c7fe97847e569dfb421008253758807c9a5fb9;hp=122c399b63344b8f40d6d691e03ad5595c215841;hb=39859e26e56171d0ebd4ee26a839e49f0db92a9c;hpb=a11ff28997fb00adf9e4a77ccab5648238a65710 diff --git a/web/staticall.php b/web/staticall.php index 122c399b..85c7fe97 100644 --- a/web/staticall.php +++ b/web/staticall.php @@ -4,7 +4,7 @@ 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).

@@ -28,7 +28,7 @@ Or you can just download the tarball of everything (read())) { - if ($entry[0] != '.') { + if ($entry[0] != '.' && is_dir($argv[1].$entry."/test")) { array_push($modules, $entry); } }