File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55include_once __DIR__ . '/../../include/prepend.inc ' ;
66
7- function language_redirect (string $ currentLang ): void {
8- // We don't use the general language selection of php.net,
9- // so soldier on with this one.
10- return ;
11- }
12-
137function common_header (string $ description ): void {
148 global $ MYSITE ;
159
Original file line number Diff line number Diff line change 22
33use function releases \php82 \common_header ;
44use function releases \php82 \language_chooser ;
5- use function releases \php82 \language_redirect ;
65use function releases \php82 \message ;
76
87if (!isset ($ lang )) {
@@ -13,8 +12,6 @@ $_SERVER['BASE_PAGE'] = 'releases/8.2/' . $lang . '.php';
1312
1413include_once __DIR__ . '/common.php ' ;
1514
16- language_redirect ($ lang );
17-
1815common_header (message ('common_header ' , $ lang ));
1916
2017?>
Original file line number Diff line number Diff line change 44
55include_once __DIR__ . '/../../include/prepend.inc ' ;
66
7- function language_redirect (string $ currentLang ): void {
8- // We don't use the general language selection of php.net,
9- // so soldier on with this one.
10- return ;
11- }
12-
137function common_header (string $ description ): void {
148 global $ MYSITE ;
159
Original file line number Diff line number Diff line change 22
33use function releases \php83 \common_header ;
44use function releases \php83 \language_chooser ;
5- use function releases \php83 \language_redirect ;
65use function releases \php83 \message ;
76
87if (!isset ($ lang )) {
@@ -13,8 +12,6 @@ $_SERVER['BASE_PAGE'] = 'releases/8.3/' . $lang . '.php';
1312
1413include_once __DIR__ . '/common.php ' ;
1514
16- language_redirect ($ lang );
17-
1815common_header (message ('common_header ' , $ lang ));
1916
2017?>
You can’t perform that action at this time.
0 commit comments