Untitled
public text v1 · immutable<?php
$matches = null;
if (preg_match('/^(.*)\.monokromatic\.com$/', $_SERVER['HTTP_HOST'], $matches) > 0)
{
$_SERVER['REQUEST_URI'] = '/' . $matches[1] . $_SERVER['REQUEST_URI'];
print 'SYSTEM :: Modified URI to include: ' . $matches[1] . '<br />New URI is: ' . $_SERVER['REQUEST_URI'] . '<br />';
}
unset( $matches );
?>