X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstatic-configuration;h=1f392eba91f33f58a7f5ddf96e4ad06e0808257c;hp=f0fcb89e9de3ea90627ee9fb3d522e08bfe442b1;hb=1fe7f55b1efc5deefb20815a03b56c8ef0f6dc53;hpb=963fa5ca9303d146d635e2fba04814f4f791c559 diff --git a/web/static-configuration b/web/static-configuration index f0fcb89e..1f392eba 100644 --- a/web/static-configuration +++ b/web/static-configuration @@ -6,7 +6,7 @@ $tempfolder = "/home/ccan/upload-temp/"; $uploadscript = "http://ccan.ozlabs.org/uploader.php"; //infofile -$infofile = '/_info.c'; +$infofile = '/_info'; //ccan admin $ccanadmin = "rusty@rustcorp.com.au"; @@ -18,11 +18,11 @@ $frommail = "ccan@ozlabs.org"; $tar_dir = 'tarballs'; //where bzr repo is: attach module name to browse -$repo_base = 'http://ccan.ozlabs.org/repo/?cmd=inventory;path='; +$repo_base = 'http://ccan.ozlabs.org/browse/ccan/'; function extract_field($field,$module) { - return htmlspecialchars(shell_exec('tools/doc_extract '.$field.' '.$module.'/_info.c')); + return htmlspecialchars(shell_exec('tools/doc_extract '.$field.' '.$module.'/_info')); } // Convert double line breaks into paragraphs, and blank spaces into preformat.