You are here

public static function Utilities::isCurlInstalled in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

1 call to Utilities::isCurlInstalled()
MoAuthApi::postCurlCall in src/Api/MoAuthApi.php

File

src/Utilities.php, line 235

Class

Utilities
This file is part of miniOrange SAML plugin.

Namespace

Drupal\miniorange_saml

Code

public static function isCurlInstalled() {
  if (in_array('curl', get_loaded_extensions())) {
    return 1;
  }
  return 0;
}