diff options
author | xue <> | 2006-11-25 20:07:32 +0000 |
---|---|---|
committer | xue <> | 2006-11-25 20:07:32 +0000 |
commit | af340f68ef716b9a3c021a8cabc40068068bf3bf (patch) | |
tree | f2de30ef460bd8ba5bacdf40da54947e9f7ee0e9 /requirements | |
parent | 0c2b2cc4bca094554f32daeaee360fc60784a247 (diff) |
Added requirement check for PDO.
Diffstat (limited to 'requirements')
-rw-r--r-- | requirements/index.php | 5 | ||||
-rw-r--r-- | requirements/messages-zh.txt | 2 | ||||
-rw-r--r-- | requirements/messages.txt | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/requirements/index.php b/requirements/index.php index dca23a06..76b6356e 100644 --- a/requirements/index.php +++ b/requirements/index.php @@ -79,6 +79,11 @@ $requirements = array( extension_loaded("pcre"),
'PCRE extension check',
'PCRE extension required'),
+ array(
+ true,
+ class_exists("PDO",false),
+ 'PDO extension check',
+ 'PDO extension optional'),
array(
false,
function_exists("iconv"),
diff --git a/requirements/messages-zh.txt b/requirements/messages-zh.txt index f7f6958c..c40fb859 100644 --- a/requirements/messages-zh.txt +++ b/requirements/messages-zh.txt @@ -35,3 +35,5 @@ CType extension check = CType模块检查 CType extension required = CType模块是必须的。
PCRE extension check = PCRE模块检查
PCRE extension required = PCRE模块是必须的。
+PDO extension check = PDO模块检查
+PDO extension required = PDO模块是可选的。如果它不存在,您将无法使用System.Data.*里的组件。
diff --git a/requirements/messages.txt b/requirements/messages.txt index f4cc7e33..ac7fc1f3 100644 --- a/requirements/messages.txt +++ b/requirements/messages.txt @@ -35,3 +35,5 @@ CType extension check = CType extension check CType extension required = CType extension is required by PRADO.
PCRE extension check = PCRE extension check
PCRE extension required = PCRE extension is required by PRADO.
+PDO extension check = PDO extension check
+PDO extension required = PDO extension is optional. If it is absent, you will not be able to use System.Data.* components.
|