Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (10 sloc) 221 Bytes
<?php
if ( isset($_SERVER['QUERY_STRING']) )
{
$headers = preg_split('/(?<!~)\|/', urldecode($_SERVER['QUERY_STRING']));
for ($i=0; $i<count($headers); $i++)
{
header(preg_replace('/~\|/', '|', $headers[$i]));
}
}
?>