Log Server

This commit is contained in:
Václav Španinger 2020-07-23 17:29:55 +02:00
parent 727ed03be7
commit 880b01882a
3 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ $router->setDefault(function(){
});
//Pages
$router->any('/', 'Log');
$router->any('/log', 'Log');
$router->any('/login', 'Login');
$router->any('/logout', 'Logout');

View File

@ -34,6 +34,7 @@ class Log extends Template
{
if (!in_array($value,array(".","..", ".gitkeep")))
{
$result[$value] = $value;
}
}

View File

@ -41,6 +41,7 @@
<h1><?php echo $LANGMNG->get('t_Logs'); ?></h1>
<label><?php echo $LANGMNG->get('l_logMaxLiveTime') . " " . $LOGTOLIVETIME . " days";?></label></br>
<form method="post" action="">
<div class="field">
<select class="input" name="LogFile">