X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstatic-configuration;h=163a93272f96df719bfd33ddd36eb6933257b0f5;hp=f0fcb89e9de3ea90627ee9fb3d522e08bfe442b1;hb=52e348278107be28fdb2dbece07a1dac19157f7a;hpb=963fa5ca9303d146d635e2fba04814f4f791c559 diff --git a/web/static-configuration b/web/static-configuration index f0fcb89e..163a9327 100644 --- a/web/static-configuration +++ b/web/static-configuration @@ -3,10 +3,10 @@ $tempfolder = "/home/ccan/upload-temp/"; //location of upload script (for posting uploads) -$uploadscript = "http://ccan.ozlabs.org/uploader.php"; +$uploadscript = "http://ccodearchive.net/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.