xref: /web-php/releases/8.3/index.php (revision a20418eb)
1<?php
2
3use phpweb\LangChooser;
4use const releases\php83\LANGUAGES;
5
6$_SERVER['BASE_PAGE'] = 'releases/8.3/index.php';
7require_once __DIR__ . '/common.php';
8require_once __DIR__ . '/../../src/autoload.php';
9
10$langChooser = new LangChooser(LANGUAGES, [], "", "");
11[$lang,] = $langChooser->chooseCode("", "", $_SERVER['HTTP_ACCEPT_LANGUAGE']);
12
13mirror_redirect("/releases/8.3/$lang.php");
14