<?
require_once('config.php');
+ require_once('fields.php');
require_once('lang/'.$conf['lang'].'.php');
require_once('functions.php');
require_once('template.php');
//init session
session_name("ldapab");
session_start();
-
+
//kill magic quotes
if (get_magic_quotes_gpc()) {
if (!empty($_GET)) remove_magic_quotes($_GET);
}else {
$array[$key] = stripslashes($array[$key]);
}
- }
- }
+ }
+ }
//prepare SMARTY object
$smarty = new Smarty;
$smarty->use_sub_dirs = 0;
$smarty->template_dir = './templates';
$smarty->force_compile = $conf['smartycompile'];
+ $smarty->default_modifiers = 'escape:"htmlall":"UTF-8"';
?>