<?
require_once(dirname(__FILE__).'/config.php');
require_once(dirname(__FILE__).'/fields.php');
+ require_once(dirname(__FILE__).'/lang/en.php');
require_once(dirname(__FILE__).'/lang/'.$conf['lang'].'.php');
require_once(dirname(__FILE__).'/functions.php');
require_once(dirname(__FILE__).'/template.php');
define('NL',"\n");
//init session
+ @ini_set('arg_separator.output', '&');
session_name("ldapab");
session_start();
$smarty->use_sub_dirs = 0;
$smarty->template_dir = dirname(__FILE__).'/../templates';
$smarty->force_compile = $conf['smartycompile'];
+
+ // select the correct google api key
+ $conf['gmapkey'] = $conf['gmaps'][$_SERVER['HTTP_HOST']];
+
?>