Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (26 sloc) 0.728 kb
80176be4 »
2005-08-05 bug #965548, displaying README and LICENSE
1 <?php
817e7907 »
2007-03-19 synced/fixed vim line
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
374abd51 »
2007-03-20 fixed/added page level docblock
3 /**
4 * Simple script to set correct charset for the license
5 *
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
8 *
e56949f1 »
2011-10-25 Use package name PhpMyAdmin
9 * @package PhpMyAdmin
374abd51 »
2007-03-20 fixed/added page level docblock
10 */
80176be4 »
2005-08-05 bug #965548, displaying README and LICENSE
11
374abd51 »
2007-03-20 fixed/added page level docblock
12 /**
035d002d »
2011-02-08 PMASA-2011-1 fixes
13 * Gets core libraries and defines some variables
7503c9b7 »
2008-11-30 Better support for vendor customisation (based on what Debian needs)
14 */
b2fd866d »
2012-03-16 Leading ./ paths for includes can be omitted, part 2
15 require 'libraries/common.inc.php';
7503c9b7 »
2008-11-30 Better support for vendor customisation (based on what Debian needs)
16
17 /**
374abd51 »
2007-03-20 fixed/added page level docblock
18 *
19 */
f92e77bc »
2011-02-08 Use utf-8 for this file as well, though it is not used right now
20 header('Content-type: text/plain; charset=utf-8');
035d002d »
2011-02-08 PMASA-2011-1 fixes
21
22 $filename = LICENSE_FILE;
23
24 // Check if the file is available, some distributions remove these.
25 if (is_readable($filename)) {
26 readfile($filename);
27 } else {
28 printf(__('The %s file is not available on this system, please visit www.phpmyadmin.net for more information.'), $filename);
29 }
30
80176be4 »
2005-08-05 bug #965548, displaying README and LICENSE
31 ?>
Something went wrong with that request. Please try again.