Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.309 kB
<?php
if ( ! isset($type) || ! isset($elements) )
{
echo '$type and $elements must be specified!';
exit;
}
$contents = '';
foreach ( $elements as $file ) {
$contents .= file_get_contents($file). "\n\n";
}
header('Content-Type: ' . $type);
header('Content-Length: ' . strlen($contents));
echo $contents;
Jump to Line
Something went wrong with that request. Please try again.