HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers3/dean.nl/wwwroot/kes/config/vars.php
<?php

$taal = $_GET['lang'];

if(empty($taal)){ $taal = "nl"; }

$aAllowedLang = array('nl',
					   'de',
					   'en',
					   'fr',
					   'sp'
					   );

if (!in_array($taal, $aAllowedLang)) {	
	header("HTTP/1.0 404 Not Found");
	header("Location: /kes/index.php?p=404");
}else{
	
	include_once("vars_".$taal.".php");
	
}

?>