summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-30 08:09:30 -0800
committerBrion Vibber <brion@pobox.com>2009-11-30 09:12:19 -0800
commit10f40661a2f517393331b554c2fec295c8c160e8 (patch)
tree78e77eb9025463410ce4f45747081316315515d4 /install.php
parenta2e4ac2fe857dbc6cfc55b2fb86f5f848f144b26 (diff)
Ticket 1870: drop unnecessary Tidy module installation requirement.
Tidy was only being used by a couple of non-default URL shortener plugins, PtitUrl and TightUrl. Both were easily changed to load the tag-soup HTML via DOMDocument (using the default DOM module which is already used by other dependencies). Added xml, dom, and simplexml modules to the requirements check in install.php, as they were being used but not checked for. Also cleaned up LilUrl, PtitUrl, and TightUrl to return URL as a string instead of as a SimpleXML node object.
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index e7f7cf318..1c62bb2b2 100644
--- a/install.php
+++ b/install.php
@@ -301,7 +301,7 @@ function checkPrereqs()
}
$reqs = array('gd', 'curl',
- 'xmlwriter', 'mbstring','tidy');
+ 'xmlwriter', 'mbstring', 'xml', 'dom', 'simplexml');
foreach ($reqs as $req) {
if (!checkExtension($req)) {