2
0
forked from Wavyzz/dolibarr

Qual: Centralise declaratin of external lib artichow at one location.

This commit is contained in:
Laurent Destailleur
2011-09-23 23:36:55 +00:00
parent 77b6019672
commit 21d16c7700

View File

@@ -338,10 +338,9 @@ if (! defined('NOLOGIN'))
// Verification security graphic code
if (isset($_POST["username"]) && ! empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA))
{
require_once DOL_DOCUMENT_ROOT.'/includes/artichow/Artichow.cfg.php';
require_once ARTICHOW."/AntiSpam.class.php";
require_once(ARTICHOW_PATH.'Artichow.cfg.php');
require_once(ARTICHOW.'/AntiSpam.class.php');
// It creates an anti-spam object
$object = new AntiSpam();
// Verifie code