summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Morken <olav.morken@uninett.no>2012-11-22 07:09:40 +0000
committerOlav Morken <olav.morken@uninett.no>2012-11-22 07:09:40 +0000
commitafe393b436a66541c3007abe6a5d260c55b51e2f (patch)
treecc6d39da0b6fc5b7546ff78fe6c4cfd1cef5367f
parent4aca3882ade665bfa2ad16868bac459e4ef7b661 (diff)
downloadsimplesamlphp-afe393b436a66541c3007abe6a5d260c55b51e2f.zip
simplesamlphp-afe393b436a66541c3007abe6a5d260c55b51e2f.tar.gz
simplesamlphp-afe393b436a66541c3007abe6a5d260c55b51e2f.tar.bz2
Mark mcrypt-module as required.
It turns out that we are now always requiring the mcrypt module, so mark it as required. Thanks to Onivaldo Rosa Junior for reporting this bug! git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3203 44740490-163a-0410-bde0-09ae8108e29a
-rw-r--r--docs/simplesamlphp-install.txt3
-rw-r--r--modules/core/www/frontpage_config.php2
2 files changed, 2 insertions, 3 deletions
diff --git a/docs/simplesamlphp-install.txt b/docs/simplesamlphp-install.txt
index 9514274..3dcbf7d 100644
--- a/docs/simplesamlphp-install.txt
+++ b/docs/simplesamlphp-install.txt
@@ -35,8 +35,7 @@ Prerequisites
* Some webserver capable of executing PHP scripts.
* PHP version >= 5.2.0.
* Suppoort for the following PHP extensions:
- * Always required: `date`, `dom`, `hash`, `libxml`, `openssl`, `pcre`, `SPL`, `zlib`
- * When encrypting assertions: `mcrypt`
+ * Always required: `date`, `dom`, `hash`, `libxml`, `openssl`, `pcre`, `SPL`, `zlib`, `mcrypt`
* When authenticating against LDAP server: `ldap`
* When authenticating against RADIUS server: `radius`
* When saving session information to memcache-server: `memcache`
diff --git a/modules/core/www/frontpage_config.php b/modules/core/www/frontpage_config.php
index 136b4af..7f4eece 100644
--- a/modules/core/www/frontpage_config.php
+++ b/modules/core/www/frontpage_config.php
@@ -85,7 +85,7 @@ $functionchecks = array(
'simplexml_import_dom' => array('required', 'SimpleXML'),
'dom_import_simplexml' => array('required', 'XML DOM'),
'preg_match' => array('required', 'RegEx support'),
- 'mcrypt_module_open'=> array('optional', 'MCrypt'),
+ 'mcrypt_module_open'=> array('required', 'MCrypt'),
'mysql_connect' => array('optional', 'MySQL support'),
);
if (SimpleSAML_Module::isModuleEnabled('ldap')) {