cvs: phpweb /include shared.inc

From: Date: Mon, 22 Jan 2001 20:12:16 +0000
Subject: cvs: phpweb /include shared.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-3522@lists.php.net to get a copy of this message
jimw Mon Jan 22 12:12:16 2001 EDT Modified files: /phpweb/include shared.inc Log: handle kr manual Index: phpweb/include/shared.inc diff -u phpweb/include/shared.inc:1.123 phpweb/include/shared.inc:1.124 --- phpweb/include/shared.inc:1.123 Tue Dec 19 14:35:57 2000 +++ phpweb/include/shared.inc Mon Jan 22 12:12:16 2001 @@ -320,9 +320,10 @@ Header("Vary: User-Agent"); $lang = strtolower(substr(dirname($PHP_SELF),-2)); switch($lang) { + case 'kr': case 'ja': Header("Content-Type: text/html; charset=utf-8"); - Header("Content-language: ja"); + Header("Content-language: $lang"); break; case 'hu': Header("Content-Type: text/html; charset=iso-8859-2");

« previous php.mirrors (#3522) next »