summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-18 02:25:48 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-18 02:25:48 +0000
commitf8d49e8a097e865158a73b3c8ef94bb05f7cb626 (patch)
tree3bb78a194f52509f9489d1887a5b0ec2e8609726
parentc1d7dc5f199be03d9f847d13c12b2ee49dc65be8 (diff)
Make sure that the SPL library is installed
-rw-r--r--installer/web.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/installer/web.php b/installer/web.php
index 387a26bb..1b71d085 100644
--- a/installer/web.php
+++ b/installer/web.php
@@ -88,6 +88,10 @@ function check_environment() {
$errors[] = "PHP is missing <a href=\"http://php.net/pcre\">Perl-Compatible Regular Expression</a> support.";
}
+ if (!(function_exists("spl_autoload_register"))) {
+ $errors[] = "PHP is missing <a href=\"http://php.net/spl\">Standard PHP Library (SPL)</a> support";
+ }
+
if (!(class_exists("ReflectionClass"))) {
$errors[] = "PHP is missing <a href=\"http://php.net/reflection\">reflection</a> support";
}