bug #1935652 [auth] Access denied (show warning about mcrypt on login page)

This commit is contained in:
Marc Delisle
2008-04-06 11:11:56 +00:00
parent 806811c039
commit b09facaff8
2 changed files with 7 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
thanks to Samuel L. B. - samuellb thanks to Samuel L. B. - samuellb
- patch #1895796 [lang] Typo in Japanese lang files, - patch #1895796 [lang] Typo in Japanese lang files,
thanks to tyman - acoustype thanks to tyman - acoustype
- bug #1935652 [auth] Access denied (show warning about mcrypt on login page)
2.11.5.1 (2008-03-29) 2.11.5.1 (2008-03-29)
- bug #1909711 [security] Sensitive data in session files - bug #1909711 [security] Sensitive data in session files

View File

@@ -258,6 +258,12 @@ if (top != self) {
echo '<div class="error">' . $error . '</div>' . "\n"; echo '<div class="error">' . $error . '</div>' . "\n";
} }
} }
// the warning is also displayed on main page but show it also here,
// because on some PHP versions running on 64-bit, the blowfish library
// does not work and this would prevent login
if (defined('PMA_WARN_FOR_MCRYPT')) {
echo '<div class="warning">' . PMA_sanitize(sprintf($GLOBALS['strCantLoad'], 'mcrypt')) . '</div>' . "\n";
}
?> ?>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">