summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJaime Pérez <jaime.perez@uninett.no>2016-09-06 11:17:32 +0200
committerJaime Pérez <jaime.perez@uninett.no>2016-09-06 11:17:32 +0200
commit561f76df423a540d94a33179ed804872f7d6e8be (patch)
tree91ce116a0c00e354f863d406427df59129473412 /modules
parent2c0c7ae05f3b37e890e30e106fb7298a56fed928 (diff)
downloadsimplesamlphp-561f76df423a540d94a33179ed804872f7d6e8be.zip
simplesamlphp-561f76df423a540d94a33179ed804872f7d6e8be.tar.gz
simplesamlphp-561f76df423a540d94a33179ed804872f7d6e8be.tar.bz2
Enhance the checks for required PHP extensions.
Added checks for Date/Time, JSON, cURL and Session.
Diffstat (limited to 'modules')
-rw-r--r--modules/core/www/frontpage_config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/core/www/frontpage_config.php b/modules/core/www/frontpage_config.php
index 85e1d94..3b37276 100644
--- a/modules/core/www/frontpage_config.php
+++ b/modules/core/www/frontpage_config.php
@@ -99,13 +99,17 @@ $enablematrix = array(
$functionchecks = array(
+ 'time' => array('required', 'Date/Time Extension'),
'hash' => array('required', 'Hashing function'),
'gzinflate' => array('required', 'ZLib'),
'openssl_sign' => array('required', 'OpenSSL'),
'simplexml_import_dom' => array('required', 'SimpleXML'),
'dom_import_simplexml' => array('required', 'XML DOM'),
'preg_match' => array('required', 'RegEx support'),
+ 'json_decode' => array('required', 'JSON support'),
+ '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)'),
'pdo_drivers' => array('optional', 'PDO Extension (required if a database backend is used)'),
'memcache_debug' => array('optional', 'Memcache Extension (required if a Memcached backend is used)'),
);