forked from Wavyzz/dolibarr
Qual: Centralise declaratin of external lib artichow at one location.
This commit is contained in:
@@ -338,10 +338,9 @@ if (! defined('NOLOGIN'))
|
|||||||
// Verification security graphic code
|
// Verification security graphic code
|
||||||
if (isset($_POST["username"]) && ! empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA))
|
if (isset($_POST["username"]) && ! empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA))
|
||||||
{
|
{
|
||||||
require_once DOL_DOCUMENT_ROOT.'/includes/artichow/Artichow.cfg.php';
|
require_once(ARTICHOW_PATH.'Artichow.cfg.php');
|
||||||
require_once ARTICHOW."/AntiSpam.class.php";
|
require_once(ARTICHOW.'/AntiSpam.class.php');
|
||||||
|
|
||||||
// It creates an anti-spam object
|
|
||||||
$object = new AntiSpam();
|
$object = new AntiSpam();
|
||||||
|
|
||||||
// Verifie code
|
// Verifie code
|
||||||
|
|||||||
Reference in New Issue
Block a user