PHP3 compatibility
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2003-07-04 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* libraries/auth/cookie.auth.lib.php3: PHP3 compatibility
|
||||||
|
|
||||||
2003-07-03 Marc Delisle <lem9@users.sourceforge.net>
|
2003-07-03 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/romanian update, thanks to Valics Lehel
|
* lang/romanian update, thanks to Valics Lehel
|
||||||
* lang/turkish update, thanks to Bora Alioglu
|
* lang/turkish update, thanks to Bora Alioglu
|
||||||
|
@@ -13,6 +13,18 @@
|
|||||||
if (!defined('PMA_COOKIE_AUTH_INCLUDED')) {
|
if (!defined('PMA_COOKIE_AUTH_INCLUDED')) {
|
||||||
define('PMA_COOKIE_AUTH_INCLUDED', 1);
|
define('PMA_COOKIE_AUTH_INCLUDED', 1);
|
||||||
|
|
||||||
|
// emulate array_values() for PHP 3
|
||||||
|
if (PMA_PHP_INT_VERSION < 40000) {
|
||||||
|
|
||||||
|
function array_values ($arr) {
|
||||||
|
$t = array();
|
||||||
|
while (list($k, $v) = each ($arr)) {
|
||||||
|
$t[] = $v;
|
||||||
|
}
|
||||||
|
return $t;
|
||||||
|
} // end function
|
||||||
|
} // end if
|
||||||
|
|
||||||
include('./libraries/blowfish.php3');
|
include('./libraries/blowfish.php3');
|
||||||
|
|
||||||
// Gets the default font sizes
|
// Gets the default font sizes
|
||||||
|
Reference in New Issue
Block a user