diff options
author | Michal Čihař <michal@cihar.com> | 2016-01-18 11:24:23 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-01-19 10:32:34 +0300 |
commit | 0a24f92d081033576bfdd9d4bdec1a54501734c1 (patch) | |
tree | abb51a6dc50c84a40cfbd429a65704f7e3ee38fc /version_check.php | |
parent | dbb267308dfcc458570e3c0af7835059aa06126c (diff) |
Set correct content type for JSON responses
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'version_check.php')
-rw-r--r-- | version_check.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/version_check.php b/version_check.php index 0f7f11cafa..78907903f1 100644 --- a/version_check.php +++ b/version_check.php @@ -13,7 +13,7 @@ require_once 'libraries/Util.class.php'; require_once 'libraries/VersionInformation.php'; // Always send the correct headers -header('Content-type: application/json; charset=UTF-8'); +PMA_headerJSON(); $versionInformation = new VersionInformation(); $versionDetails = $versionInformation->getLatestVersion(); |