diff options
Diffstat (limited to 'usr/local/www/graph.php')
-rwxr-xr-x | usr/local/www/graph.php | 2 |
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"/> |