summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-01-24 20:43:31 +0000
committerxue <>2006-01-24 20:43:31 +0000
commitfd1af57313ceeed7a4ffc29e45455df666d30f3c (patch)
tree979fe29ca604d3f2961ae8bb3794b688ac418ddb
parent8317bdcef2734d666a1ecc75c0a1c9a9a3b0e794 (diff)
Added requirement check for DOM extension.
-rw-r--r--requirements/index.php1
-rw-r--r--requirements/messages-zh.txt3
-rw-r--r--requirements/messages.txt3
3 files changed, 5 insertions, 2 deletions
diff --git a/requirements/index.php b/requirements/index.php
index aabcc4e7..ca173ebf 100644
--- a/requirements/index.php
+++ b/requirements/index.php
@@ -31,6 +31,7 @@
*/
$requirements = array(
array(true,'version_compare(PHP_VERSION,"5.0.4",">=")','PHP version check','PHP 5.0.4 or higher required'),
+ array(true,'class_exists("DOMDocument",false)','DOM extension check','DOM extension required'),
array(false,'extension_loaded("zlib")','Zlib check','Zlib extension optional'),
array(false,'extension_loaded("sqlite")','SQLite check','SQLite extension optional'),
array(false,'extension_loaded("memcache")','Memcache check','Memcache extension optional'),
diff --git a/requirements/messages-zh.txt b/requirements/messages-zh.txt
index 29888113..0b0cf938 100644
--- a/requirements/messages-zh.txt
+++ b/requirements/messages-zh.txt
@@ -8,4 +8,5 @@ SQLite extension optional = SQLite模块是可选的。如果它不存在,您
Memcache check = Memcache模块检查
Memcache extension optional = Memcache模块是可选的。如果它不存在,您将无法使用TMemCache。
Zlib check = Zlib模块检查
-Zlib extension optional = Zlib模块是可选的。如果它不存在,页面的状态信息将无法压缩,由此可能导致您的页面传送数据量增大。 \ No newline at end of file
+Zlib extension optional = Zlib模块是可选的。如果它不存在,页面的状态信息将无法压缩,由此可能导致您的页面传送数据量增大。
+DOM extension required = DOM模块是必须的。如果它不存在,基于XML的各种配置文件将无法解析。 \ No newline at end of file
diff --git a/requirements/messages.txt b/requirements/messages.txt
index 6aecf6a2..a6b588c5 100644
--- a/requirements/messages.txt
+++ b/requirements/messages.txt
@@ -8,4 +8,5 @@ SQLite extension optional = SQLite extension is optional. If it is absent, you
Memcache check = Memcache check
Memcache extension optional = Memcache extension is optional. If it is absent, you will not be able to use TMemCache.
Zlib check = Zlib check
-Zlib extension optional = Zlib extension is optional. If it is absent, page state will not be compressed and your page size may increase. \ No newline at end of file
+Zlib extension optional = Zlib extension is optional. If it is absent, page state will not be compressed and your page size may increase.
+DOM extension required = DOM extension is required by PRADO. It is used in TXmlDocument to parse all sorts of XML-based configurations. \ No newline at end of file