summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-27 17:18:50 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-27 17:18:50 (EDT)
commit1496231cbd202f66f040aaec42bd30424d3f018a (patch)
tree4a4589d7367ff82d4443db0d2a855e02501afc1b
parent2b03c1accb02d540087485a318be700b7e671fee (diff)
downloadlibreboot.org-1496231cbd202f66f040aaec42bd30424d3f018a.zip
libreboot.org-1496231cbd202f66f040aaec42bd30424d3f018a.tar.gz
libreboot.org-1496231cbd202f66f040aaec42bd30424d3f018a.tar.bz2
specify charset in http headers, not html
-rw-r--r--site/contrib/index.php4
-rw-r--r--site/download/index.php4
-rw-r--r--site/index.php4
3 files changed, 3 insertions, 9 deletions
diff --git a/site/contrib/index.php b/site/contrib/index.php
index 713f62d..e15c2c7 100644
--- a/site/contrib/index.php
+++ b/site/contrib/index.php
@@ -16,8 +16,7 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-?>
-<?php
+ header('Content-type: text/html; charset=utf-8');
ob_start();
include_once "../variables.php";
include_once "../functions.php";
@@ -25,7 +24,6 @@
<!DOCTYPE html>
<html>
<head>
- <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
diff --git a/site/download/index.php b/site/download/index.php
index 0abe97e..6b413ce 100644
--- a/site/download/index.php
+++ b/site/download/index.php
@@ -16,8 +16,7 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-?>
-<?php
+ header('Content-type: text/html; charset=utf-8');
ob_start();
include_once "../variables.php";
include_once "../functions.php";
@@ -25,7 +24,6 @@
<!DOCTYPE html>
<html>
<head>
- <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
diff --git a/site/index.php b/site/index.php
index 5b82484..be8c1d3 100644
--- a/site/index.php
+++ b/site/index.php
@@ -16,8 +16,7 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-?>
-<?php
+ header('Content-type: text/html; charset=utf-8');
ob_start();
include_once "variables.php";
include_once "functions.php";
@@ -25,7 +24,6 @@
<!DOCTYPE html>
<html>
<head>
- <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">