2.11.11.3 release
[phpmyadmin/madhuracj.git] / license.php
blobc8c2957991b188c568d1b8354c6368a7d4b1b27f
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
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
9 * @version $Id$
12 /**
15 header('Content-type: text/plain; charset=iso-8859-1');
17 $filename = 'LICENSE';
19 // Check if the file is available, some distributions remove these.
20 if (is_readable($filename)) {
21 readfile($filename);
22 } else {
23 echo "The $filename file is not available on this system, please visit www.phpmyadmin.net for more information.";