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 '
';
    
    for($i=0; $i < count($contents); ++$i)
    {
      echo $contents[$i];
    }
    
    echo '
'; $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++; $result[$r] = '\n" . '' . '\n" . '\n"; } } } if(!$result) { print '' . "\n"; } else { $reversed=array_reverse($result); for($i=0;$i\n\n"; } //END BLOCK ?>
' . "\n" . "" . htmlspecialchars($contents[$i-1]) . "\n" . "
' . "\n" . htmlspecialchars($contents[$i]) . "\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)); // echo $identifier . '

'; $checkins = substr($checkins, 15); // echo $checkins . '

'; // find first non-space character // if > 16, chances are the files are in the directory defined in the previous line ? $_16 = strpos($checkins, ' '); // echo '$_16 ' . $_16 . '

'; $_path = substr( $checkins, 0, $_16); // echo $_path . '

'; // if ( $_16 > 16 ) // not going to happen frequently : ) $checkins = ereg_replace('[[:space:]]{1,}', ' ', trim( substr ( $checkins, $_16 ) ) ); $__path = trim($_path); if ( !empty( $__path ) ) { $chkA1 = $_path; } $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(!$checkinsA[$y] == 'Tag:' && !$checkinsA[$y-1] == 'Tag:') { $checkins .= ' '; } else { $checkins .= ' '; } $checkins .= $checkinsA[$y]; if(!$checkinsA[$y] == 'Tag:' && !$checkinsA[$y-1] == 'Tag:'): $checkins .= ''; endif; } } $result[$r] .= '

' . $checkins . "
\n"; } $result[$r] .= "
There are no new commits today