improve captcha, replace the global variable by a "DEFINE" constant

This commit is contained in:
sparkyx 2021-04-24 10:49:28 +02:00
parent f11ae20509
commit 5b30467fad
6 changed files with 16 additions and 8 deletions

View file

@ -252,6 +252,8 @@ function display_file_config($p_array,$from_setup=1,$p_os=1)
print ("// for exporting document in PDF\r\n");
print ("// \$pdftk = /usr/bin/pdftk \r\n");
print ("// \$pdftk = /snap/bin/pdftk \r\n");
print ("// uncomment to activate the captcha on login page\r\n");
print ("// define('NOALYSS_CAPTCHA',true);\r\n");
}
/*!\brief create the config file