X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstatic-configuration;h=3eeda9a2c40af042dfa05f8a273b5472cae3ccce;hp=3ff84923a073544b21b809831f05cd16fba1c2a7;hb=a879e3e2859e17496f29e14b8f393583b2c93f19;hpb=ad8da11f6d0664e0fb3c8707a869425088daea7e diff --git a/web/static-configuration b/web/static-configuration index 3ff84923..3eeda9a2 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,14 +18,14 @@ $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/'; 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. +// Convert double line breaks into paragraphs, and blank spaces into preformat. function htmlize_field($field,$module) { $state="inpara";