summaryrefslogtreecommitdiff
path: root/installer/web.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-04 20:20:43 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-04 20:20:43 -0700
commitfb9efa664b686c540708098ed6b55305c3a6084e (patch)
tree19f5b64122a568152c4a3e691e8ae7a74bb73af8 /installer/web.php
parent7ad0808a117fd1db4e94da8d7763ccca1d69350a (diff)
Check for the SimpleXML module, thanks to geekonek.
Fixes ticket #599.
Diffstat (limited to 'installer/web.php')
-rw-r--r--installer/web.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/installer/web.php b/installer/web.php
index 78784539..f31c0644 100644
--- a/installer/web.php
+++ b/installer/web.php
@@ -104,6 +104,10 @@ function check_environment() {
$errors[] = "PHP is missing the <a href=\"http://php.net/iconv\">iconv extension</a>";
}
+ if (!(extension_loaded("simplexml"))) {
+ $errors[] = "PHP is missing the <a href=\"http://php.net/simplexml\">SimpleXML extension</a>";
+ }
+
if (extension_loaded("mbstring") && (ini_get("mbstring.func_overload") & MB_OVERLOAD_STRING)) {
$errors[] = "The <a href=\"http://php.net/mbstring\">mbstring extension</a> is overloading PHP's native string functions. Please disable it.";
}