summaryrefslogtreecommitdiff
path: root/requirements
diff options
context:
space:
mode:
Diffstat (limited to 'requirements')
-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