From 8fc159cdf30090f9a0b7c1ed13bf76fbd0e72862 Mon Sep 17 00:00:00 2001 From: kkalev Date: Sun, 2 Jan 2005 14:09:57 +0000 Subject: [PATCH] Add a header with the page encoding before sending any page (header added in config.php3) This closes Bug #153 --- Changelog | 2 ++ conf/config.php3 | 1 + 2 files changed, 3 insertions(+) diff --git a/Changelog b/Changelog index 1a69c13..e969f81 100644 --- a/Changelog +++ b/Changelog @@ -6,6 +6,8 @@ Ver 1.78: * In bin/snmpfinger also accept @,. in the username * If we are stripping realms, then if needed strip them from the data returned by snmpfinger in user_finger.php3 +* Add a header with the page encoding before sending any page (header added in config.php3) + This closes Bug #153 Ver 1.75: * A LOT of security related fixes. Now dialupadmin should hopefully be secure enough to be accessed by normal users (not administrators). diff --git a/conf/config.php3 b/conf/config.php3 index 2b0a2c8..312f7db 100644 --- a/conf/config.php3 +++ b/conf/config.php3 @@ -110,4 +110,5 @@ if (!isset($mappings) && $config[general_username_mappings_file] != ''){ //Include missing.php3 if needed if (!function_exists('array_change_key_case')) include_once('../lib/missing.php3'); +@header('Content-type: text/html; charset='.$config[general_charset].';'); ?> -- 2.39.5