diff --git a/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php b/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php index a95d0cabe660bde654fc741f670bba69fff466ab..439b7c85c3b99e038f655015ab8058b98d76d8b9 100644 --- a/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php +++ b/lib/classes/auth_plugins/StudipAuthSimpleSamlPHP.php @@ -28,10 +28,10 @@ class StudipAuthSimpleSamlPHP extends StudipAuthSSO { parent::__construct($config); - if(!isset($this->path_to_simple_saml_php)){ - require_once('/var/simplesamlphp/src/_autoload.php'); + if (empty($this->path_to_simple_saml_php)) { + require_once '/var/simplesamlphp/src/_autoload.php'; }else{ - require_once($this->path_to_simple_saml_php ); + require_once $this->path_to_simple_saml_php; } if (!isset($this->plugin_fullname)) {