logfile only if SYSINFO_DISPLAY is true
This commit is contained in:
parent
5901df5a1f
commit
0edcf8364b
2 changed files with 2 additions and 2 deletions
|
|
@ -207,7 +207,7 @@ hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #0
|
||||||
echo $html->saveHTML();
|
echo $html->saveHTML();
|
||||||
|
|
||||||
}
|
}
|
||||||
if ($action== 'logfile')
|
if ($action== 'logfile' && SYSINFO_DISPLAY == true )
|
||||||
{
|
{
|
||||||
/* List the connexion successfull and failed */
|
/* List the connexion successfull and failed */
|
||||||
require_once NOALYSS_INCLUDE."/admin_logfile.inc.php";
|
require_once NOALYSS_INCLUDE."/admin_logfile.inc.php";
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ function MenuAdmin()
|
||||||
if ( SYSINFO_DISPLAY == false ) {
|
if ( SYSINFO_DISPLAY == false ) {
|
||||||
$nb_item = count($tmp_item);
|
$nb_item = count($tmp_item);
|
||||||
for ($i=0;$i<$nb_item;$i++) {
|
for ($i=0;$i<$nb_item;$i++) {
|
||||||
if ($tmp_item[$i][3] <> 6 ) {
|
if ($tmp_item[$i][3] <> 6 && $tmp_item[$i][3] <> 9 ) {
|
||||||
$item[]=$tmp_item[$i];
|
$item[]=$tmp_item[$i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue