diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2007-12-14 04:06:32 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2007-12-14 04:06:32 +0000 |
commit | 441cf11e9aa622809be5121f64d0e615e04343af (patch) | |
tree | c0eb64a072ee6d425036eb21c3c6af862be3a3dc /gpsd.php | |
parent | 595dd7251bc8f1d771c1981ca6a95acf69aeae43 (diff) | |
download | gpsd-441cf11e9aa622809be5121f64d0e615e04343af.tar.gz |
more magic
Diffstat (limited to 'gpsd.php')
-rw-r--r-- | gpsd.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,7 +17,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. global $head, $blurb, $title, $googlemap, $autorefresh, $footer, $gmap_key; -global $GPS, $server, $advertise, $port, $magic, $swap_ew; +global $GPS, $server, $advertise, $port, $magic, $swap_ew, $magic; $magic = 1; # leave this set to 1 if (!file_exists("gpsd_config.inc")) @@ -351,6 +351,7 @@ function parse_pvt($resp){ function write_html($resp){ global $GPS, $sock, $errstr, $errno, $server, $port, $head, $body; global $blurb, $title, $autorefresh, $googlemap, $gmap_key, $footer; + global $magic; header("Content-type: text/html; charset=UTF-8"); |