3.3.10
[phpmyadmin/ammaryasirr.git] / license.php
blob6d638781d48c37e9d414b47601f9f31ee5f75ee2
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$
10 * @package phpMyAdmin
13 /**
14 * Load paths.
16 require('./libraries/vendor_config.php');
18 /**
21 header('Content-type: text/plain; charset=iso-8859-1');
23 $filename = LICENSE_FILE;
25 // Check if the file is available, some distributions remove these.
26 if (is_readable($filename)) {
27 readfile($filename);
28 } else {
29 echo "The $filename file is not available on this system, please visit www.phpmyadmin.net for more information.";