fix: Fix elseif keyword in go.php

Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
This commit is contained in:
Côme Chilliet
2025-01-14 17:20:27 +01:00
committed by GitHub
parent 1321b4e142
commit 9e7884682d

4
go.php
View File

@@ -83,9 +83,9 @@ $location = "$proto://$name$port$path";
header('HTTP/1.1 302 Moved Temporarily');
if (array_key_exists($from, $mapping)) {
$subPath = $mapping[$from];
} else if (str_starts_with($from, 'admin-')) {
} elseif (str_starts_with($from, 'admin-')) {
$subPath = '/admin_manual';
} else if (str_starts_with($from, 'developer-')) {
} elseif (str_starts_with($from, 'developer-')) {
$subPath = '/developer_manual';
} else {
$subPath = '/user_manual';