summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-05-12 14:11:29 +0000
committerxue <>2006-05-12 14:11:29 +0000
commit0b792552008e99d3104f4153f7e95f5c17fdaf5c (patch)
tree06204b41a127cc2a809d4147f8d55d69261e2ace
parente2149e3d8b87b382563a9def6f376a5f289754d3 (diff)
Added requirement checker for XSL.
-rw-r--r--requirements/index.php3
-rw-r--r--requirements/messages-zh.txt4
-rw-r--r--requirements/messages.txt4
3 files changed, 8 insertions, 3 deletions
diff --git a/requirements/index.php b/requirements/index.php
index 5c63912b..8bb40418 100644
--- a/requirements/index.php
+++ b/requirements/index.php
@@ -39,6 +39,7 @@ $requirements = array(
array(false,'extension_loaded("memcache")','Memcache extension check','Memcache extension optional'),
array(false,'extension_loaded("apc")','APC extension check','APC extension optional'),
array(false,'extension_loaded("mcrypt")','Mcrypt extension check','Mcrypt extension optional'),
+ array(false,'extension_loaded("xsl")','XSL extension check','XSL extension optional'),
);
$results = "<table class=\"result\">\n";
@@ -171,7 +172,7 @@ function getPreferredLanguage()
*/
function getPradoVersion()
{
- $coreFile=dirname(__FILE__).'/../framework/core.php';
+ $coreFile=dirname(__FILE__).'/../framework/PradoBase.php';
if(is_file($coreFile))
{
$contents=file_get_contents($coreFile);
diff --git a/requirements/messages-zh.txt b/requirements/messages-zh.txt
index 3527a1ce..bb832a4c 100644
--- a/requirements/messages-zh.txt
+++ b/requirements/messages-zh.txt
@@ -17,4 +17,6 @@ DOM extension required = DOM模块是必须的。如果它不存在,基于XML
ICONV extension check = ICONV模块检查
ICONV extension optional = ICONV模块是可选的。如果它不存在,某些国际化控件将无法正常工作。
Mcrypt extension check = Mcrypt模块检查
-Mcrypt extension optional = Mcrypt模块是可选的。如果它不存在,某些敏感数据,例如viewstate,将无法被加密。 \ No newline at end of file
+Mcrypt extension optional = Mcrypt模块是可选的。如果它不存在,某些敏感数据,例如viewstate,将无法被加密。
+XSL extension check = XSL模块检查
+XSL extension optional = XSL模块是可选的。如果它不存在,您将无法使用TXmlTransform。
diff --git a/requirements/messages.txt b/requirements/messages.txt
index 029806dc..405231df 100644
--- a/requirements/messages.txt
+++ b/requirements/messages.txt
@@ -17,4 +17,6 @@ DOM extension required = DOM extension is required by PRADO. It is used in TX
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. \ No newline at end of file
+Mcrypt extension optional = Mcrypt extension is optional. If it is absent, sensitive data, such as viewstate, cannot be encrypted.
+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. \ No newline at end of file