This commit is contained in:
Avinash Gusain 2023-12-08 11:14:10 +05:30
parent 1bdddbeb09
commit fa18e6d3ab

View file

@ -74,8 +74,7 @@ class PageController extends Controller
]; ];
public function __construct(string $appName, IRequest $request, IL10N $l) public function __construct(string $appName, IRequest $request, IL10N $l) {
{
parent::__construct($appName, $request); parent::__construct($appName, $request);
$this->l = $l; $this->l = $l;
$lang = \strtolower(\str_replace('_', '-', $l->getLocaleCode())); $lang = \strtolower(\str_replace('_', '-', $l->getLocaleCode()));