From a04d1ddcb00b19c8040f71f7399d6f3affaa3c21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez?= <jaime.perez@uninett.no>
Date: Tue, 6 Sep 2016 12:59:28 +0200
Subject: [PATCH] Add the SPL extension to the list of requirements in the web
 interface.

This is needed for the autoloader to work, or code calling class_implements(), among others.
---
 modules/core/www/frontpage_config.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/core/www/frontpage_config.php b/modules/core/www/frontpage_config.php
index dfd3f1538..5bff9f267 100644
--- a/modules/core/www/frontpage_config.php
+++ b/modules/core/www/frontpage_config.php
@@ -106,6 +106,7 @@ $functionchecks = array(
 	'dom_import_simplexml' => array('required', 'XML DOM'),
 	'preg_match'       => array('required',  'RegEx support'),
 	'json_decode'      => array('required', 'JSON support'),
+	'class_implements' => array('required', 'Standard PHP Library (SPL)'),
 	'curl_init'        => array('optional', 'cURL (required if automatic version checks are used, also by some modules.'),
 	'mcrypt_module_open'=> array('optional',  'MCrypt (required if digital signatures or encryption are used)'),
 	'session_start'  => array('optional', 'Session Extension (required if PHP sessions are used)'),
-- 
GitLab