You are here

function simplesamlphp_auth_check_library in simpleSAMLphp Authentication 8.3

Check if the SimpleSAMLphp library can be found.

Fallback for when the library was not found via Composer.

1 call to simplesamlphp_auth_check_library()
simplesamlphp_auth_requirements in ./simplesamlphp_auth.install
Implements hook_requirements().

File

./simplesamlphp_auth.install, line 80
The install file for the simplesamlphp_auth module.

Code

function simplesamlphp_auth_check_library() {
  if ($dir = Settings::get('simplesamlphp_dir')) {
    include_once $dir . '/lib/_autoload.php';
  }
}