소스 검색

Make sure that the ajax pages declare properly their charset as UTF-8. (Trac #198)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@631 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 년 전
부모
커밋
fd4520caab
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      application/ajaxwebpage.class.inc.php

+ 2 - 0
application/ajaxwebpage.class.inc.php

@@ -42,6 +42,8 @@ class ajax_page extends WebPage
     {
         parent::__construct($s_title);
         $this->m_sReadyScript = "";
+		$this->add_header("Content-type: text/html; charset=utf-8");
+		$this->add_header("Cache-control: no-cache");
     }