You are here

public static function Utilities::isCurlInstalled in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 7

5 calls to Utilities::isCurlInstalled()
MiniorangeOAuthCustomer::checkCustomer in includes/customer_setup.php
Check if customer exists.
MiniorangeOAuthCustomer::createCustomer in includes/customer_setup.php
Create Customer.
MiniorangeOAuthCustomer::getCustomerKeys in includes/customer_setup.php
Get Customer Keys.
MiniorangeOAuthCustomer::sendOtp in includes/customer_setup.php
Send OTP.
MiniorangeOAuthCustomer::validateOtp in includes/customer_setup.php
Validate OTP.

File

includes/Utilities.php, line 230

Class

Utilities

Code

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