ajout de l'option captcha dans l'onglet "divers" de la scurit avec vification si php_gd est actif

This commit is contained in:
Regis Houssin
2007-10-02 16:17:38 +00:00
parent 0ac2d7cce5
commit e9dd4df68e

View File

@@ -153,7 +153,7 @@ if (function_exists("imagecreatefrompng"))
{
print '<a href="security_other.php?action=activate_captcha">'.$langs->trans("Activate").'</a>';
}
if($conf->global->MAIN_SECURITY_ENABLECAPTCHA == 1 && function_exists("imagecreatefrompng"))
if($conf->global->MAIN_SECURITY_ENABLECAPTCHA == 1)
{
print '<a href="security_other.php?action=disable_captcha">'.$langs->trans("Disable").'</a>';
}