Empty log list
This commit is contained in:
parent
15bfffed0b
commit
6135205dc1
|
@ -39,8 +39,10 @@ $list=$log->list_logs_directory_all($log->get_logs_directory());
|
||||||
if (isset($error) && $error) {
|
if (isset($error) && $error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
}
|
}
|
||||||
if(!$list || empty($list)){
|
if(!$list || empty($list['dir'])){
|
||||||
echo "<p class=\"error\">"._("You have no sql logs to list a the moment.")."</p>";
|
echo "<p class=\"error\">"._("You have no sql logs to list a the moment.")."</p>";
|
||||||
|
include_once('foot.php');
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<table class="tlist">
|
<table class="tlist">
|
||||||
|
|
Loading…
Reference in New Issue