From f8d49e8a097e865158a73b3c8ef94bb05f7cb626 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 18 Mar 2009 02:25:48 +0000 Subject: Make sure that the SPL library is installed --- installer/web.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'installer/web.php') 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 Perl-Compatible Regular Expression support."; } + if (!(function_exists("spl_autoload_register"))) { + $errors[] = "PHP is missing Standard PHP Library (SPL) support"; + } + if (!(class_exists("ReflectionClass"))) { $errors[] = "PHP is missing reflection support"; } -- cgit v1.2.3