X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=web%2Fstaticall.php;h=c82a8bdb5d6176296c71dc859cf35d9927f8a878;hb=fc29adfb894e68ad9fc1b4c60815938048534f9b;hp=d93a26f27ac005e048f36e05588d7f3ef76e4743;hpb=e956db66e83df4931e413d25188d528926f14824;p=ccan
diff --git a/web/staticall.php b/web/staticall.php
index d93a26f2..c82a8bdb 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[3]."/ccan.tar.bz2") + 1023) / 1024);
+$tarballsize=round((filesize($argv[3]."/".$argv[4]) + 1023) / 1024);
?>
-
+
List of all CCAN modules:
@@ -16,22 +16,16 @@ download.
-Or you can just download the tarball of everything including CCAN tools (=$tarballsize?>K).
+Or you can just download the tarball of everything including CCAN tools (=$tarballsize?>K).
-
+
Name |
Summary / Link to details |
Download |
read())) {
- if ($entry[0] != '.') {
- array_push($modules, $entry);
- }
-}
+$modules = array_slice($argv, 5);
sort($modules);
foreach ($modules as $module) {
@@ -49,7 +43,6 @@ foreach ($modules as $module) {
close();
?>
@@ -57,7 +50,7 @@ $d->close();
(This is contributed code which was dumped here: these gems may need some polishing.)
-