From: Zheng Zhu Date: Wed, 22 Sep 2004 04:24:50 +0000 (+0000) Subject: sending the content language code as Content-language X-Git-Tag: 1.5.0alpha1~1890 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=60c94987aab3141a19d735fbc003d5cb646a8502;p=lhc%2Fweb%2Fwiklou.git sending the content language code as Content-language --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 9c98a56782..dcfe19f2d1 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -348,7 +348,7 @@ class OutputPage { */ function output() { global $wgUser, $wgLang, $wgDebugComments, $wgCookieExpiration; - global $wgInputEncoding, $wgOutputEncoding, $wgLanguageCode; + global $wgInputEncoding, $wgOutputEncoding, $wgContLanguageCode; global $wgDebugRedirects, $wgMimeType, $wgProfiler; if( $this->mDoNothing ){ return; @@ -395,7 +395,7 @@ class OutputPage { $sk->postParseLinkColour( false ); header( "Content-type: $wgMimeType; charset={$wgOutputEncoding}" ); - header( 'Content-language: '.$wgLanguageCode ); + header( 'Content-language: '.$wgContLanguageCode ); $exp = time() + $wgCookieExpiration; foreach( $this->mCookies as $name => $val ) {