File tree Expand file tree Collapse file tree 4 files changed +0
-18
lines changed Expand file tree Collapse file tree 4 files changed +0
-18
lines changed Original file line number Diff line number Diff line change 4
4
5
5
include_once __DIR__ . '/../../include/prepend.inc ' ;
6
6
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
-
13
7
function common_header (string $ description ): void {
14
8
global $ MYSITE ;
15
9
Original file line number Diff line number Diff line change 2
2
3
3
use function releases \php82 \common_header ;
4
4
use function releases \php82 \language_chooser ;
5
- use function releases \php82 \language_redirect ;
6
5
use function releases \php82 \message ;
7
6
8
7
if (!isset ($ lang )) {
@@ -13,8 +12,6 @@ $_SERVER['BASE_PAGE'] = 'releases/8.2/' . $lang . '.php';
13
12
14
13
include_once __DIR__ . '/common.php ' ;
15
14
16
- language_redirect ($ lang );
17
-
18
15
common_header (message ('common_header ' , $ lang ));
19
16
20
17
?>
Original file line number Diff line number Diff line change 4
4
5
5
include_once __DIR__ . '/../../include/prepend.inc ' ;
6
6
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
-
13
7
function common_header (string $ description ): void {
14
8
global $ MYSITE ;
15
9
Original file line number Diff line number Diff line change 2
2
3
3
use function releases \php83 \common_header ;
4
4
use function releases \php83 \language_chooser ;
5
- use function releases \php83 \language_redirect ;
6
5
use function releases \php83 \message ;
7
6
8
7
if (!isset ($ lang )) {
@@ -13,8 +12,6 @@ $_SERVER['BASE_PAGE'] = 'releases/8.3/' . $lang . '.php';
13
12
14
13
include_once __DIR__ . '/common.php ' ;
15
14
16
- language_redirect ($ lang );
17
-
18
15
common_header (message ('common_header ' , $ lang ));
19
16
20
17
?>
You can’t perform that action at this time.
0 commit comments