2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * A caching proxy for retrieving version information from phpmyadmin.net
10 define('PMA_MINIMUM_COMMON', true);
11 require_once 'libraries/common.inc.php';
12 require_once 'libraries/Util.class.php';
14 // Always send the correct headers
15 header('Content-type: application/json; charset=UTF-8');
17 $version = PMA_Util
::getLatestVersion();
19 if (empty($version_data)) {
20 echo json_encode(array());
24 'version' => $version->version
,
25 'date' => $version->date
,