public static function MoAuthUtilities::isCurlInstalled in Google Authenticator / 2 Factor Authentication - 2FA 8
Same name and namespace in other branches
- 8.2 src/MoAuthUtilities.php \Drupal\miniorange_2fa\MoAuthUtilities::isCurlInstalled()
1 call to MoAuthUtilities::isCurlInstalled()
File
- src/
MoAuthUtilities.php, line 138 - This file is part of miniOrange 2FA module.
Class
Namespace
Drupal\miniorange_2faCode
public static function isCurlInstalled() {
if (in_array('curl', get_loaded_extensions())) {
return 1;
}
else {
return 0;
}
}