summaryrefslogtreecommitdiffstats
path: root/usr/local/www/graph.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-03-23 10:18:55 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-03-23 10:18:55 -0300
commitcd94a9a8d9ea4ba99576da957e18c23472d59f85 (patch)
tree1e64bb663391476732588e833752ed27858ae70b /usr/local/www/graph.php
parente2173e062b141acf8e6e45c775840c0fe433a3b2 (diff)
downloadpfsense-cd94a9a8d9ea4ba99576da957e18c23472d59f85.zip
pfsense-cd94a9a8d9ea4ba99576da957e18c23472d59f85.tar.gz
Add missing encoding, as suggested by yakar
Diffstat (limited to 'usr/local/www/graph.php')
-rwxr-xr-xusr/local/www/graph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/graph.php b/usr/local/www/graph.php
index ce65a55..478bae4 100755
--- a/usr/local/www/graph.php
+++ b/usr/local/www/graph.php
@@ -102,7 +102,7 @@ if(file_exists("/usr/local/www/themes/{$g['theme']}/graph.php")) {
}
/********* Graph DATA **************/
-print('<?xml version="1.0" ?>' . "\n");?>
+print('<?xml version="1.0" encoding="UTF-8"?>' . "\n");?>
<svg width="100%" height="100%" viewBox="0 0 <?=$width?> <?=$height?>" preserveAspectRatio="none" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="init(evt)">
<g id="graph">
<rect id="bg" x1="0" y1="0" width="100%" height="100%" fill="white"/>
OpenPOWER on IntegriCloud