The cdn source code can be accessed in either of the following ways:

' . $local_conf_commits_msg . "\n"; //BEGIN BLOCK if(file_exists(COMMIT_PATH.$commit_log) && $local_conf_commits) { // if(file_exists('/tmp/commit_test') && $local_conf_commits) { // $size = filesize(COMMIT_PATH.$commit_log); $size = filesize('/tmp/commit_test'); $contents = array(); if ($size > MAX_READ_SIZE) { // print "\n"; $fp = fopen (COMMIT_PATH.$commit_log, "r"); fseek($fp, $size - MAX_READ); if ($contents) { print "$contents\n"; exit; } $tok = strtok(fread($fp, MAX_READ),"\n"); while ($tok) { array_push($contents, $tok); $tok = strtok("\n"); } fclose($fp); } if (!$contents) { $contents = file(COMMIT_PATH.$commit_log); // $contents = file('/tmp/commit_test'); // echo 'boing '; echo $contents; } // preprocess Tag: stuff $stnetnoc = implode('_[_cdn_]_', $contents); // echo '
' . $stnetnoc . '

'; $contents = ereg_replace('Tag\:[[:space:]]{1,}_\[_cdn_\]_[[:space:]]{1,}', 'Tag: ', $stnetnoc); $stetnoc = ereg_replace('Log\:+[[:space:]]+Tag', "Log\:\nTg", $stetnoc); $stnetnoc = eregi_replace("Tag\:\ [^[:space:]\.]{1,}\ ", "\\0_[_cdn_]_ ", $contents); // needs to not process 'Tag:' if in a commemt, i.e. it follows 'Log:' $stetnoc = ereg_replace('Log\:+[[:space:]]+Tg', "Log\:\nTag", $stetnoc); $contents = explode('_[_cdn_]_', $stnetnoc); // /preprocess Tag: stuff $len=count($contents); $r = -1; $_project = $project; if ( !isset($doNotCapitalise) ) { $_project = PROJECT; } print '

' . "Today's CVS Commits for " . $_project . " Project

\n"; // print '

' . "Yesterday's CVS Commits for " . $_project . " Project

\n"; // print '

' . "Some day's CVS Commits for " . $_project . " Project

\n"; print '' . "\n"; if($len) { for($i=0;$i<$len;$i++) { if(ereg("Modified: www", $contents[$l]) && !$local_conf_commits) break; // if(ereg(" Date: [0-9]{2}/[0-9]{2}/[0-9]{2}", $contents[$i])) { // if(ereg(" Date: $yesterday", $contents[$i])) { if(ereg(" Date: $today", $contents[$i])) { $r++; $_i = $i + 1; $yy = substr(YEAR, 0, 2); $_timestamp = str_replace('Date: ', '', ltrim($contents[$i])); $_timestamp = str_replace("\n", '', $_timestamp); $_ts_link = $yy . ereg_replace('[\ \/]', '_', $_timestamp); $_timestamp = ''; $result[$r] = '\n" . '' . '\n" . '\n"; } } } if(!$result) { print '' . "\n"; } else { $reversed=array_reverse($result); for($i=0;$i\n\n"; } //END BLOCK ?>
' . "\n" . "" . $_timestamp . htmlspecialchars($contents[$i-1]) . "\n" . // who "
' . "\n"; $_time = htmlspecialchars($contents[$i]); $result[$r] .= '' . $_time . ''; // when $result[$r] .= "\n
' . "\n"; $webcvs = 'http://www.mozdev.org/source/browse/' . $project; // . '/'; for($l=$i+1;$l<$len;$l++) { if(ereg(" Revision Changes Path", $contents[$l])) break; if(ereg(" User:", $contents[$l])) break; $checkins = eregi_replace("((https|http|mailto|ftp):\/\/[^[:space:]<>]{1,})", "\\1", htmlspecialchars($contents[$l])); // ' Added: www/img background.png' // ' Modified: www cdn.css' // ' Removed: www/protected sources.html' // ' www/compact index.html' ? if ( ereg("((Added|Modified|Removed):)", $checkins) || ereg("[[:space:]]{9}", $checkins) ) { $identifier = trim(substr($checkins, 0, 15)); // may change to   group $checkins = substr($checkins, 15); // find first non-space character // if > 16, chances are the files are in the directory defined in the previous line ? $_16 = strpos($checkins, ' '); $_path = substr( $checkins, 0, $_16); $checkins = ereg_replace('[[:space:]]{1,}', ' ', trim( substr ( $checkins, $_16 ) ) ); $checkinsA = explode(' ', $checkins); unset($checkins); for($z=0; $z < count($checkinsA); ++$z) { $checkinsA[$z] = trim($checkinsA[$z]); } if ( !empty($identifier) ) $checkins = $identifier; if ( !empty($_path)) { $webcvs = 'http://www.mozdev.org/source/browse/' . $project; // reset important ! $webcvs .= '/' . $_path; $_path_ = $_path; $checkins .= ' ' . $_path . ''; } for($y=0; $y < count($checkinsA); ++$y) { if (ereg('Tag:', $checkinsA[$y]) || ereg('Tag:', $checkinsA[$y-1])) { $TAG = true; } else { $TAG = false; } if(!$TAG) { $checkins .= ' '; } else { $checkins .= ' '; ++$_tagtracker; } $checkins .= $checkinsA[$y]; if(!$TAG): $checkins .= ''; endif; } } $result[$r] .= '
' . $checkins . "
\n"; // what } $result[$r] .= "
There are no new commits today