Location: PHPKode > projects > HuMo-gen > languages/language.php
<?php
$Taalkeuze="nl";

// *** Opgeslagen default taal ***
if (isset($humo_option['default_language'])
	AND file_exists($cms['cms_path'].'languages/'.$humo_option['default_language'].'/language.php')){
	$Taalkeuze=$humo_option['default_language'];
}

// *** Met extra controle of taal wel bestaat ***
if (isset($_SESSION["Taal"]) AND file_exists($cms['cms_path'].'languages/'.$_SESSION["Taal"].'/language.php')){
	$Taalkeuze=$_SESSION["Taal"];
}

$language = array();
include($cms['cms_path'].'languages/'.$Taalkeuze.'/language.php'); //Taal
?>
Return current item: HuMo-gen