Merge pull request #873 from Alkarex/Charset

Force HTML content-type with charset
This commit is contained in:
Alexandre Alapetite
2015-06-13 23:23:44 +02:00

View File

@@ -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);
}