From 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 9 Jan 2020 10:55:03 +0100 Subject: phpmyadmin working --- srcs/phpmyadmin/license.php | 46 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 srcs/phpmyadmin/license.php (limited to 'srcs/phpmyadmin/license.php') diff --git a/srcs/phpmyadmin/license.php b/srcs/phpmyadmin/license.php new file mode 100644 index 0000000..b5f9096 --- /dev/null +++ b/srcs/phpmyadmin/license.php @@ -0,0 +1,46 @@ +disable(); + +/** + * + */ +header('Content-type: text/plain; charset=utf-8'); + +$filename = LICENSE_FILE; + +// Check if the file is available, some distributions remove these. +if (@is_readable($filename)) { + readfile($filename); +} else { + printf( + __( + 'The %s file is not available on this system, please visit ' . + '%s for more information.' + ), + $filename, + 'https://www.phpmyadmin.net/' + ); +} -- cgit