mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 01:08:41 +00:00
This commit is contained in:
parent
bd09e2aae6
commit
08624f88e0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user