bug #965548, displaying README and LICENSE

This commit is contained in:
Marc Delisle
2005-08-05 10:50:49 +00:00
parent 053d90b601
commit 80176be497
4 changed files with 27 additions and 3 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2005-08-05 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html, readme.php, license.php:
bug #965548, displaying README and LICENSE, thanks to Ryan Schmidt
2005-08-04 Michal Čihař <michal@cihar.com> 2005-08-04 Michal Čihař <michal@cihar.com>
* libraries/common.lib.php, export.php: Show error header on error to make * libraries/common.lib.php, export.php: Show error header on error to make
clear that something bad has happened. clear that something bad has happened.

View File

@@ -44,9 +44,9 @@
<li> <li>
Local documents: Local documents:
<ul> <ul>
<li>Version history: <a href="ChangeLog">ChangeLog</a></li> <li>Version history: <a href="changelog.php">ChangeLog</a></li>
<li>General notes: <a href="README">README</a></li> <li>General notes: <a href="readme.php">README</a></li>
<li>License: <a href="LICENSE">LICENSE</a></li> <li>License: <a href="license.php">LICENSE</a></li>
</ul> </ul>
</li> </li>
<li> <li>

10
license.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
// Simple script to set correct charset for the license
// vim: expandtab sw=4 ts=4 sts=4:
//
// Note: please do not fold this script into a general script
// that would read any file using a GET parameter, it would open a hole
header('Content-type: text/plain; charset=iso-8859-1');
readfile('LICENSE');
?>

10
readme.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
// Simple script to set correct charset for the readme
// vim: expandtab sw=4 ts=4 sts=4:
//
// Note: please do not fold this script into a general script
// that would read any file using a GET parameter, it would open a hole
header('Content-type: text/plain; charset=iso-8859-1');
readfile('README');
?>