From: kkalev Date: Sun, 2 Jan 2005 14:09:57 +0000 (+0000) Subject: Add a header with the page encoding before sending any page (header added in config... X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=8fc159cdf30090f9a0b7c1ed13bf76fbd0e72862;p=freeradius-dialup-admin.git Add a header with the page encoding before sending any page (header added in config.php3) This closes Bug #153 --- 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].';'); ?>