Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-01-18 11:24:23 +0300
committerMichal Čihař <michal@cihar.com>2016-01-19 10:32:34 +0300
commit0a24f92d081033576bfdd9d4bdec1a54501734c1 (patch)
treeabb51a6dc50c84a40cfbd429a65704f7e3ee38fc /version_check.php
parentdbb267308dfcc458570e3c0af7835059aa06126c (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.php2
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();