1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-04-21 10:24:37 +00:00
This commit is contained in:
Baoshuo Ren 2022-09-20 15:49:26 +08:00
parent bd09e2aae6
commit 08624f88e0
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

@ -97,7 +97,7 @@ class HTML {
// }
if ($param) {
$url .= $path.'?'.HTML::query_string_encode($param);
} else if ($path != '/') {
} elseif ($path != '/') {
$url .= rtrim($path, '/');
} else {
$url = $path;