Przeglądaj źródła

Force HTML content-type with charset

Force UTF-8 https://github.com/FreshRSS/FreshRSS/issues/870
Alexandre Alapetite 10 lat temu
rodzic
commit
da5033859b
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      lib/Minz/View.php

+ 1 - 0
lib/Minz/View.php

@@ -91,6 +91,7 @@ class Minz_View {
 	 * Construit le layout
 	 */
 	public function buildLayout () {
+		header('Content-Type: text/html; charset=UTF-8');
 		$this->includeFile(self::LAYOUT_PATH_NAME . self::LAYOUT_FILENAME);
 	}