Révision ac1bc5de
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/captcha/image_captcha/image_captcha.install | ||
---|---|---|
18 | 18 |
if (_image_captcha_check_setup(FALSE) & IMAGE_CAPTCHA_ERROR_NO_GDLIB) { |
19 | 19 |
$requirements['image_captcha_requires_gd'] = array( |
20 | 20 |
'title' => $t('Image CAPTCHA requires GD library'), |
21 |
'description' => |
|
22 |
$t('The Image CAPTCHA module can not be installed because your PHP setup does not provide the <a href="!gddoc">GD library</a>, which is required to generate images.',
|
|
23 |
array('!gddoc' => 'http://www.php.net/manual/en/book.image.php',)
|
|
24 |
),
|
|
21 |
'description' => $t(
|
|
22 |
'The Image CAPTCHA module can not be installed because your PHP setup does not provide the <a href="!gddoc">GD library</a>, which is required to generate images.', |
|
23 |
array('!gddoc' => 'http://www.php.net/manual/en/book.image.php')
|
|
24 |
), |
|
25 | 25 |
'severity' => REQUIREMENT_ERROR, |
26 | 26 |
); |
27 | 27 |
} |
... | ... | |
30 | 30 |
} |
31 | 31 |
|
32 | 32 |
/** |
33 |
* On uninstall: remove module variables and clear variable cache |
|
33 |
* On uninstall: remove module variables and clear variable cache.
|
|
34 | 34 |
*/ |
35 | 35 |
function image_captcha_uninstall() { |
36 | 36 |
db_delete('variable') |
Formats disponibles : Unified diff
Weekly update of contrib modules