function _recaptcha_load_library in reCAPTCHA 6
Same name and namespace in other branches
- 8 recaptcha.module \_recaptcha_load_library()
- 7 recaptcha.module \_recaptcha_load_library()
Load the recaptcha library.
2 calls to _recaptcha_load_library()
- recaptcha_admin_settings in ./
recaptcha.admin.inc - Form callback; administrative settings for reCaptcha.
- recaptcha_captcha in ./
recaptcha.module - Implements hook_captcha().
File
- ./
recaptcha.module, line 276 - Uses the reCAPTCHA web service to improve the CAPTCHA system.
Code
function _recaptcha_load_library() {
// D6 core does not return TRUE if include has been loaded successfully.
return module_load_include('php', 'recaptcha', 'recaptcha-php-1.11/recaptchalib') === FALSE ? FALSE : TRUE;
}