You are here

function MiniorangeConfigOAuthClient::mo_oauth_is_curl_installed in OAuth2 Login 8

1 call to MiniorangeConfigOAuthClient::mo_oauth_is_curl_installed()
MiniorangeConfigOAuthClient::mo_get_version_informations in src/Form/MiniorangeConfigOAuthClient.php

File

src/Form/MiniorangeConfigOAuthClient.php, line 541

Class

MiniorangeConfigOAuthClient

Namespace

Drupal\oauth2_login\Form

Code

function mo_oauth_is_curl_installed() {
  if (in_array('curl', get_loaded_extensions())) {
    return 1;
  }
  else {
    return 0;
  }
}