X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstatic-configuration;h=6686380521e1cf89dcbfb0cf9d66bb5f02107fd1;hp=f0fcb89e9de3ea90627ee9fb3d522e08bfe442b1;hb=737dcc0fe959d67eb29f57df37b0d7f188e0213d;hpb=963fa5ca9303d146d635e2fba04814f4f791c559 diff --git a/web/static-configuration b/web/static-configuration index f0fcb89e..66863805 100644 --- a/web/static-configuration +++ b/web/static-configuration @@ -3,10 +3,7 @@ $tempfolder = "/home/ccan/upload-temp/"; //location of upload script (for posting uploads) -$uploadscript = "http://ccan.ozlabs.org/uploader.php"; - -//infofile -$infofile = '/_info.c'; +$uploadscript = "http://ccodearchive.net/uploader.php"; //ccan admin $ccanadmin = "rusty@rustcorp.com.au"; @@ -17,12 +14,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.