summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-11-25 20:07:32 +0000
committerxue <>2006-11-25 20:07:32 +0000
commitaf340f68ef716b9a3c021a8cabc40068068bf3bf (patch)
treef2de30ef460bd8ba5bacdf40da54947e9f7ee0e9
parent0c2b2cc4bca094554f32daeaee360fc60784a247 (diff)
Added requirement check for PDO.
-rw-r--r--demos/quickstart/protected/controls/TopicList.tpl7
-rw-r--r--requirements/index.php5
-rw-r--r--requirements/messages-zh.txt2
-rw-r--r--requirements/messages.txt2
4 files changed, 16 insertions, 0 deletions
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
@@ -52,6 +52,13 @@
</div>
<div class="topic">
+<div>Working with Database</div>
+<ul>
+ <li><a href="?page=Database.DAO">Data Access Objects</a></li>
+</ul>
+</div>
+
+<div class="topic">
<div>Module Reference</div>
<ul>
</ul>
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.