Try to load mcrypt extension.
This commit is contained in:
@@ -18,6 +18,7 @@ $Source$
|
|||||||
form.
|
form.
|
||||||
* libraries/display_select_lang.lib.php, libraries/select_lang.lib.php:
|
* libraries/display_select_lang.lib.php, libraries/select_lang.lib.php:
|
||||||
Show native names of languages (RFE #1342726).
|
Show native names of languages (RFE #1342726).
|
||||||
|
* libraries/auth/cookie.auth.lib.php: Try to load mcrypt extension.
|
||||||
|
|
||||||
2005-11-20 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-11-20 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* added test/theme.php: for testing themes
|
* added test/theme.php: for testing themes
|
||||||
|
@@ -21,8 +21,7 @@ $current_time = time();
|
|||||||
|
|
||||||
// Uses faster mcrypt library if available
|
// Uses faster mcrypt library if available
|
||||||
// (Note: mcrypt.lib.php needs $cookie_path and $is_https)
|
// (Note: mcrypt.lib.php needs $cookie_path and $is_https)
|
||||||
// TODO: try to load mcrypt?
|
if (function_exists('mcrypt_encrypt') || PMA_dl('mcrypt')) {
|
||||||
if (function_exists('mcrypt_encrypt')) {
|
|
||||||
require_once('./libraries/mcrypt.lib.php');
|
require_once('./libraries/mcrypt.lib.php');
|
||||||
} else {
|
} else {
|
||||||
require_once('./libraries/blowfish.php');
|
require_once('./libraries/blowfish.php');
|
||||||
|
Reference in New Issue
Block a user