All pastes #759064 Raw Edit

Stuff

public text v1 · immutable
·published 2007-11-02 20:11 UTC
rendered paste body
<?php

require_once('config.inc.php');

/**
 * wildcart
 */
preg_match('/(.*?)\.fotka\.sex\.pl/', $_SERVER['HTTP_HOST'], $aService);
$sWildcart = (isset($aService[1])) ? $aService[1] : null;

if($sWildcart && $sWildcart != 'www')
{
  header("Location: " . URL . "profil/" . $sWildcart . "/");
  exit;
}
// end of WC
else
{
  require_once(V_LOADER);
  
	try
	{
		$oVframe = new Vframe(V_AUTORUN, V_AUTOCHECK);
	}
  catch(Vexception $e)
	{
		if(V_EXCEPTIONS === TRUE)
			require_once(V_REPORTER);
	}
	catch(Exception $e)
	{
		if(V_EXCEPTIONS === TRUE)
			require_once(V_REPORTER);
	}
}
?>