We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c4be20 commit 0074ea9Copy full SHA for 0074ea9
plugins/simplesaml.php
@@ -33,7 +33,9 @@ class simplesaml extends phplistPlugin
33
34
function __construct()
35
{
36
- require_once(__DIR__ .'/simplesaml/simplesamlphp/lib/_autoload.php');
+ if ( version_compare(PHP_VERSION, '7.4.0') >= 0) {
37
+ require_once(__DIR__ .'/simplesaml/simplesamlphp/lib/_autoload.php');
38
+ }
39
parent::__construct();
40
}
41
@@ -268,6 +270,9 @@ public function logout()
268
270
269
271
public function dependencyCheck()
272
273
+ if ( version_compare(PHP_VERSION, '7.4.0') < 0) {
274
+ return array('PHP version 7.4 or up' ,false);
275
276
277
$allowEnable = false;
278
if (@is_file(__DIR__).'/simplesaml/simplesamlphp/config/config.php') {
0 commit comments