From 5d725ed1753474d41e178ddaf10ab3084c8f360e Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 13 Jun 2008 10:51:51 -0400
Subject: [PATCH] Mention dependency of the DOM exension and add link to php.net

---
 INSTALL             |    1 +
 installer/check.php |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/INSTALL b/INSTALL
index 098e886..c38610e 100644
--- a/INSTALL
+++ b/INSTALL
@@ -13,6 +13,7 @@
 * .htaccess support allowing overrides for DirectoryIndex
 * PHP Version 5.2 or greater including
    - PCRE (perl compatible regular expression)
+   - DOM (xml document object model)
    - libiconv (recommended)
    - mbstring (optional)
 * php.ini options:
diff --git a/installer/check.php b/installer/check.php
index 3b64af3..a8a0125 100644
--- a/installer/check.php
+++ b/installer/check.php
@@ -1,8 +1,7 @@
 <form action="index.php" method="get">
 <?php
 
-$required_php_exts = array('PCRE' => 'pcre', 'Session' => 'session',
-    'DOM XML' => 'dom');
+$required_php_exts = array('PCRE' => 'pcre', 'DOM' => 'dom2', 'Session' => 'session',);
 
 $optional_php_exts = array('FileInfo' => 'fileinfo', 'Libiconv' => 'iconv',
     'Multibyte' => 'mbstring', 'OpenSSL' => 'openssl', 'Mcrypt' => 'mcrypt',
@@ -31,7 +30,8 @@
     'PEAR' => 'http://pear.php.net',
     'MDB2' => 'http://pear.php.net/package/MDB2',
     'Net_SMTP' => 'http://pear.php.net/package/Net_SMTP',
-    'Mail_mime' => 'http://pear.php.net/package/Mail_mime'
+    'Mail_mime' => 'http://pear.php.net/package/Mail_mime',
+    'DOM' => 'http://www.php.net/manual/en/intro.dom.php'
 );
 
 echo '<input type="hidden" name="_step" value="' . ($RCI->configured ? 3 : 2) . '" />';

--
Gitblit v1.9.1