Add ZrlMiddleware to the stack

stable
Hypolite Petovan 2 years ago
parent 230ceeab29
commit 0cdbd3af2d
  1. 4
      src/middleware.php

@ -51,4 +51,6 @@ $middleware->setLocaleCallback(function (string $locale) use ($container) {
});
$middleware->setUriParamName('lang');
$app->add($middleware);
$app->add($middleware);
$app->add(new \Friendica\Directory\Middleware\ZrlMiddleware($container->get('renderer')));

Loading…
Cancel
Save