Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (15 sloc) 0.342 kb
<?php
if (!isset($type) || !isset($elements))
{
echo "\$type and \$elements must be specified!";
exit;
}
$contents = '';
reset($elements);
while (list(,$element) = each($elements)) {
$contents .= "\n\n" . file_get_contents($element);
}
header("Content-Type: " . $type);
header("Content-Length: " . strlen($contents));
echo $contents;
?>
Jump to Line
Something went wrong with that request. Please try again.