diff -Naur phpMyAdmin-2.10.2-all-languages/changelog.php phpMyAdmin-2.10.2-all-languages-magellan/changelog.php --- phpMyAdmin-2.10.2-all-languages/changelog.php 2007-06-15 19:27:48.000000000 +0200 +++ phpMyAdmin-2.10.2-all-languages-magellan/changelog.php 2007-07-08 16:27:53.000000000 +0200 @@ -6,7 +6,7 @@ * @id $Id: phpmyadmin-2.10.2-fix-doc-pathes.patch,v 1.1 2007-07-08 14:34:57 niro Exp $ */ -$changelog = htmlspecialchars(file_get_contents('ChangeLog')); +/*$changelog = htmlspecialchars(file_get_contents('ChangeLog')); $replaces = array( '@(http://[./a-zA-Z0-9.-]*[/a-zA-Z0-9])@' @@ -63,6 +63,7 @@ => '\\1\\2', ); +*/ header('Content-type: text/html; charset=utf-8'); echo ''; @@ -80,7 +81,7 @@

phpMyAdmin - ChangeLog

'; -echo preg_replace(array_keys($replaces), $replaces, $changelog); +readgzfile('/usr/share/doc/phpmyadmin-2.10.2/ChangeLog.gz'); echo ''; ?> diff -Naur phpMyAdmin-2.10.2-all-languages/license.php phpMyAdmin-2.10.2-all-languages-magellan/license.php --- phpMyAdmin-2.10.2-all-languages/license.php 2007-06-15 19:27:48.000000000 +0200 +++ phpMyAdmin-2.10.2-all-languages-magellan/license.php 2007-07-08 16:12:28.000000000 +0200 @@ -6,5 +6,5 @@ // 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'); +readgzfile('/usr/share/doc/phpmyadmin-2.10.2/LICENSE.gz'); ?> diff -Naur phpMyAdmin-2.10.2-all-languages/readme.php phpMyAdmin-2.10.2-all-languages-magellan/readme.php --- phpMyAdmin-2.10.2-all-languages/readme.php 2007-06-15 19:27:48.000000000 +0200 +++ phpMyAdmin-2.10.2-all-languages-magellan/readme.php 2007-07-08 16:13:04.000000000 +0200 @@ -6,5 +6,5 @@ // that would read any file using a GET parameter, it would open a hole header('Content-type: text/plain; charset=utf-8'); -readfile('README'); +readgzfile('/usr/share/doc/phpmyadmin-2.12.2/README.gz'); ?>