From c221da970d6a32ec6cce7a863d74593a765b92d4 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 15 Jul 2008 14:14:09 +0000 Subject: [PATCH] remove version info on cookie login screen --- ChangeLog | 1 + libraries/auth/cookie.auth.lib.php | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3024d86d4..976141ef7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21,6 +21,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #1959855 [interface] Font size option problem when no config file - bug #1982489 [relation] Relationship view should check for changes - bug [history] Do not save too big queries in history +- [security] Do not show version info on login screen 2.11.7.0 (2008-06-23) - bug #1908719 [interface] New field cannot be auto-increment and primary key diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index 653ae1e3c..5329213ac 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -67,7 +67,6 @@ if (function_exists('mcrypt_encrypt') || PMA_dl('mcrypt')) { * @uses PMA_sendHeaderLocation() * @uses PMA_select_language() * @uses PMA_select_server() - * @uses PMA_VERSION * @uses file_exists() * @uses sprintf() * @uses count() @@ -106,8 +105,8 @@ function PMA_auth() // Defines the "item" image depending on text direction $item_img = $GLOBALS['pmaThemeImage'] . 'item_' . $GLOBALS['text_dir'] . '.png'; - /* HTML header */ - $page_title = 'phpMyAdmin ' . PMA_VERSION; + /* HTML header; do not show here the PMA version to improve security */ + $page_title = 'phpMyAdmin '; require './libraries/header_meta_style.inc.php'; ?>