diff --git a/app/Routes.php b/app/Routes.php index d6e1eb9..4693cd5 100644 --- a/app/Routes.php +++ b/app/Routes.php @@ -7,6 +7,7 @@ $router->setDefault(function(){ }); //Pages +$router->any('/', 'Log'); $router->any('/log', 'Log'); $router->any('/login', 'Login'); $router->any('/logout', 'Logout'); diff --git a/app/views/Log.php b/app/views/Log.php index 9d2cc50..1b69b4c 100644 --- a/app/views/Log.php +++ b/app/views/Log.php @@ -34,6 +34,7 @@ class Log extends Template { if (!in_array($value,array(".","..", ".gitkeep"))) { + $result[$value] = $value; } } diff --git a/app/views/templates/log.phtml b/app/views/templates/log.phtml index 1eb808e..e651bbb 100644 --- a/app/views/templates/log.phtml +++ b/app/views/templates/log.phtml @@ -41,6 +41,7 @@

get('t_Logs'); ?>


+