X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstatic-configuration;h=23773693998ec69d3dde96ca9991654042b662b3;hp=f0fcb89e9de3ea90627ee9fb3d522e08bfe442b1;hb=79dee5018a407be1d0674d6108b60f8e8c882b7c;hpb=963fa5ca9303d146d635e2fba04814f4f791c559;ds=sidebyside diff --git a/web/static-configuration b/web/static-configuration index f0fcb89e..23773693 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"; @@ -17,12 +17,12 @@ $frommail = "ccan@ozlabs.org"; //tar home dir $tar_dir = 'tarballs'; -//where bzr repo is: attach module name to browse -$repo_base = 'http://ccan.ozlabs.org/repo/?cmd=inventory;path='; +//where repo is: attach module name to browse +$repo_base = 'http://git.ozlabs.org/?p=ccan;a=tree;f=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.