Adjust files_encryption requirements to the new core requirement (PHP 5.3.8).

This commit is contained in:
Andreas Fischer 2013-11-29 20:34:57 +01:00
parent baa587fd3c
commit efbf18652c
1 changed files with 1 additions and 8 deletions

View File

@ -370,14 +370,7 @@ class Helper {
* @return bool true if requirements are met * @return bool true if requirements are met
*/ */
public static function checkRequirements() { public static function checkRequirements() {
$result = true; return extension_loaded('openssl');
//openssl extension needs to be loaded
$result &= extension_loaded("openssl");
// we need php >= 5.3.3
$result &= version_compare(phpversion(), '5.3.3', '>=');
return (bool) $result;
} }
/** /**