From 37c4c3b158994707ab502b1b9bf4994872deeace Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Tue, 10 Jul 2012 23:43:14 +0000 Subject: TSecurityManager: make it able to use any hashing/crypto algorithm supported by php; use php built-in functions when available --- requirements/index.php | 11 ++++++++++- requirements/messages.txt | 4 ++++ 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'requirements') diff --git a/requirements/index.php b/requirements/index.php index 8e2bee08..6366b494 100644 --- a/requirements/index.php +++ b/requirements/index.php @@ -25,7 +25,6 @@ * Its localized version is stored in template-.html. */ -// TO BE CONFIRMED: PHP 5.1.0 has problem with I18N and L10N /** * @var array List of requirements (required or not, check item, hint) */ @@ -119,6 +118,16 @@ $requirements = array( extension_loaded("mcrypt"), 'Mcrypt extension check', 'Mcrypt extension optional'), + array( + false, + extension_loaded("mbstring"), + 'Mbstring extension check', + 'Mbstring extension optional'), + array( + false, + extension_loaded("hash"), + 'Hash extension check', + 'Hash extension optional'), array( false, extension_loaded("xsl"), diff --git a/requirements/messages.txt b/requirements/messages.txt index 9e9c595e..519fc239 100644 --- a/requirements/messages.txt +++ b/requirements/messages.txt @@ -19,6 +19,10 @@ ICONV extension check = ICONV extension check ICONV extension optional = ICONV extension is optional. If it is absent, some internationalization components may not work properly. Mcrypt extension check = Mcrypt extension check Mcrypt extension optional = Mcrypt extension is optional. If it is absent, sensitive data, such as viewstate, cannot be encrypted. +Mbstring extension check = Mbstring extension check +Mbstring extension optional = Mbstring extension is optional. If it is absent, prado will fallback using the not unicode-aware functions. +Hash extension check = Hash extension check +Hash extension optional = Hash extension is optional. If it is absent, only md5 and sha1 will be supported. XSL extension check = XSL extension check XSL extension optional = XSL extension is optional. If it is absent, you will not be able to use TXmlTransform. $_SERVER["HTTP_ACCEPT"] check = $_SERVER["HTTP_ACCEPT"] check -- cgit v1.2.3