diff --git a/html/index.php b/html/index.php
index 7a947cd583a49b294de1ea13a4b5c2e3157225ce..b07da22c1a9e1d0b6eb6616e02fc6eab35f5e3ee 100644 (file)
--- a/html/index.php
+++ b/html/index.php
} else {
$lang= $config->data['MAIN']['LANG'];
}
-$lang.=".UTF-8";
putenv("LANGUAGE=");
putenv("LANG=$lang");
setlocale(LC_ALL, $lang);
$smarty->assign("errors", $_SESSION['errors']);
}
if ($error_collector != ""){
- $smarty->assign("php_errors", $error_collector."</div>");
+ $smarty->assign("php_errors", preg_replace("/%BUGBODY%/",$error_collector_mailto,$error_collector)."</div>");
} else {
$smarty->assign("php_errors", "");
}