PHP3 compatibility
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$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>
|
||||
* lang/romanian update, thanks to Valics Lehel
|
||||
* lang/turkish update, thanks to Bora Alioglu
|
||||
|
@@ -13,6 +13,18 @@
|
||||
if (!defined('PMA_COOKIE_AUTH_INCLUDED')) {
|
||||
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');
|
||||
|
||||
// Gets the default font sizes
|
||||
|
Reference in New Issue
Block a user