2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Simple script to set correct charset for the license
6 * Note: please do not fold this script into a general script
7 * that would read any file using a GET parameter, it would open a hole
11 use PMA\libraries\Response
;
14 * Gets core libraries and defines some variables
16 require 'libraries/common.inc.php';
18 $response = Response
::getInstance();
24 header('Content-type: text/plain; charset=utf-8');
26 $filename = LICENSE_FILE
;
28 // Check if the file is available, some distributions remove these.
29 if (@is_readable
($filename)) {
34 'The %s file is not available on this system, please visit ' .
35 '%s for more information.'
38 'https://www.phpmyadmin.net/'