19 lines
		
	
	
	
		
			428 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			428 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
ini_set('display_errors', true);
 | 
						|
ini_set('display_startup_errors', true);
 | 
						|
$association = explode(".", $_SERVER['HTTP_HOST']);
 | 
						|
$association = $association[0];
 | 
						|
$city = "enschede";
 | 
						|
switch($association){
 | 
						|
    case "interactief":
 | 
						|
    case "inter-actief":
 | 
						|
        $association = "ia";
 | 
						|
        break;
 | 
						|
    default:
 | 
						|
        break;
 | 
						|
}
 | 
						|
 | 
						|
if($switch){
 | 
						|
    header('Location: https://isonzeinterndronken.nl/'.$city.'/'.$association);
 | 
						|
}
 | 
						|
?>
 |