X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticmoduleinfo.php;h=2174f7a598c8c78ef11bed1141010e46684a7791;hp=17c3454af0a40d8fbddf4188f8d3ffe6da598f1a;hb=8fc1b23065309df44a3725ec7dba76dfebc9cbd2;hpb=10e5e329a1a8804ff6461e1724071364cf6be572 diff --git a/web/staticmoduleinfo.php b/web/staticmoduleinfo.php index 17c3454a..2174f7a5 100644 --- a/web/staticmoduleinfo.php +++ b/web/staticmoduleinfo.php @@ -4,7 +4,7 @@ include('logo.html'); include('menulist.html'); include('static-configuration'); $module_path=$argv[1]; -$module=basename($module_path); +$module=$argv[2]; $maintainer=extract_field('maintainer',$module_path); $author=extract_field('author',$module_path); $summary=extract_field('summary',$module_path); @@ -15,6 +15,7 @@ $dependencies=htmlspecialchars(shell_exec('tools/ccan_depends --direct '.$module $extdepends=htmlspecialchars(shell_exec('tools/ccan_depends --compile --non-ccan '.$module_path)); $licence=extract_field('licence',$module_path); $license=extract_field('license',$module_path); +$url_prefix = getenv("URLPREFIX"); ?> @@ -22,8 +23,8 @@ $license=extract_field('license',$module_path); Browse Source
-Download -(without any required ccan dependencies) +Download +(without any required ccan dependencies)