summaryrefslogtreecommitdiffstats
path: root/json.php
diff options
context:
space:
mode:
authorRyanne Fox <rfox@godaddy.com>2015-04-06 08:12:07 -0700
committerRyanne Fox <rfox@godaddy.com>2015-04-06 08:12:07 -0700
commit8bad9fd52277bb964cbfebeef5a6723e5528bd9d (patch)
treeec1667971265e07ad37b489451ab83109d7660c6 /json.php
parent5166a260291e6090bf520b9887e8f28842951bd9 (diff)
downloadssl-decoder-8bad9fd52277bb964cbfebeef5a6723e5528bd9d.zip
ssl-decoder-8bad9fd52277bb964cbfebeef5a6723e5528bd9d.tar.gz
ssl-decoder-8bad9fd52277bb964cbfebeef5a6723e5528bd9d.tar.bz2
Use of php short tag in json.php causes parse failure on systems where short tags are not enabled
Diffstat (limited to 'json.php')
-rw-r--r--json.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.php b/json.php
index 0b9fbca..1ddc929 100644
--- a/json.php
+++ b/json.php
@@ -62,7 +62,7 @@ if ($_GET["type"] == "pretty") {
</script>
<noscript><p><img src="//hosted-oswa.org/piwik/piwik.php?idsite=34" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
- <?
+ <?php
} else {
header('Content-Type: application/json');
echo json_encode($data);