From af340f68ef716b9a3c021a8cabc40068068bf3bf Mon Sep 17 00:00:00 2001
From: xue <>
Date: Sat, 25 Nov 2006 20:07:32 +0000
Subject: Added requirement check for PDO.
---
demos/quickstart/protected/controls/TopicList.tpl | 7 +++++++
requirements/index.php | 5 +++++
requirements/messages-zh.txt | 2 ++
requirements/messages.txt | 2 ++
4 files changed, 16 insertions(+)
diff --git a/demos/quickstart/protected/controls/TopicList.tpl b/demos/quickstart/protected/controls/TopicList.tpl
index 5e46bd44..ddf88c2c 100644
--- a/demos/quickstart/protected/controls/TopicList.tpl
+++ b/demos/quickstart/protected/controls/TopicList.tpl
@@ -51,6 +51,13 @@
+
+
Working with Database
+
+
+
Module Reference
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.
--
cgit v1.2.3