logfile only if SYSINFO_DISPLAY is true

This commit is contained in:
sparkyx 2026-03-01 11:45:23 +01:00
parent 5901df5a1f
commit 0edcf8364b
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #0
echo $html->saveHTML();
}
if ($action== 'logfile')
if ($action== 'logfile' && SYSINFO_DISPLAY == true )
{
/* List the connexion successfull and failed */
require_once NOALYSS_INCLUDE."/admin_logfile.inc.php";