improve captcha, replace the global variable by a "DEFINE" constant
This commit is contained in:
parent
f11ae20509
commit
5b30467fad
6 changed files with 16 additions and 8 deletions
|
|
@ -27,7 +27,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
require_once NOALYSS_INCLUDE.'/class/user.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/acc_bilan.class.php';
|
||||
|
||||
global $g_captcha,$g_failed,$g_succeed;
|
||||
global $g_failed,$g_succeed;
|
||||
$cn=Dossier::connect();
|
||||
$exercice=$g_user->get_exercice();
|
||||
echo '<div class="content">';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue