Add footer with current version
- Move stats links from header to footer
This commit is contained in:
parent
c0a56882bc
commit
9f80a14565
2 changed files with 17 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ abstract class BaseRoute
|
|||
public function __invoke(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): \Slim\Http\Response
|
||||
{
|
||||
$defaults = [
|
||||
'version' => file_get_contents(__DIR__ . '/../../../../VERSION'),
|
||||
'languages' => $this->container->settings['i18n']['locales'],
|
||||
'lang' => $request->getAttribute('locale'),
|
||||
'baseUrl' => $request->getUri()->getBaseUrl(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue