mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 10:46:21 +07:00
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:
4
go.php
4
go.php
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user