<?php

$cms_root_path = "../../../";
require_once($cms_root_path."includes/compatibility_includer.php");

if ( empty($_GET['language']) || preg_match("/^[a-z]+$/", $_GET['language']) ) {
	$_SESSION['content_manager']['language'] = $_GET['language'];
}

echo "Current language is: '".$_SESSION['content_manager']['language']."'";