public static function MoAuthUtilities::isCurlInstalled in Google Authenticator / 2 Factor Authentication - 2FA 7
1 call to MoAuthUtilities::isCurlInstalled()
- MoAuthUtilities::callService in classes/Utilities.php 
File
- classes/Utilities.php, line 192 
- This file is part of miniOrange 2FA module.
Class
- MoAuthUtilities
- @file This file is part of miniOrange 2FA module.
Code
public static function isCurlInstalled() {
  if (in_array('curl', get_loaded_extensions())) {
    return 1;
  }
  else {
    return 0;
  }
}