Merge pull request #873 from Alkarex/Charset

Force HTML content-type with charset
pull/886/head
Alexandre Alapetite 9 years ago
commit ca59b2be23
  1. 1
      lib/Minz/View.php

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

Loading…
Cancel
Save