summaryrefslogtreecommitdiffstats
path: root/site/index.php
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 /site/index.php
parent2b03c1accb02d540087485a318be700b7e671fee (diff)
downloadlibreboot.org-1496231cbd202f66f040aaec42bd30424d3f018a.zip
libreboot.org-1496231cbd202f66f040aaec42bd30424d3f018a.tar.gz
libreboot.org-1496231cbd202f66f040aaec42bd30424d3f018a.tar.bz2
specify charset in http headers, not html
Diffstat (limited to 'site/index.php')
-rw-r--r--site/index.php4
1 files changed, 1 insertions, 3 deletions
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">