mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 13:28:41 +00:00
This commit is contained in:
parent
bd09e2aae6
commit
08624f88e0
@ -97,7 +97,7 @@ class HTML {
|
|||||||
// }
|
// }
|
||||||
if ($param) {
|
if ($param) {
|
||||||
$url .= $path.'?'.HTML::query_string_encode($param);
|
$url .= $path.'?'.HTML::query_string_encode($param);
|
||||||
} else if ($path != '/') {
|
} elseif ($path != '/') {
|
||||||
$url .= rtrim($path, '/');
|
$url .= rtrim($path, '/');
|
||||||
} else {
|
} else {
|
||||||
$url = $path;
|
$url = $path;
|
||||||
|
Loading…
Reference in New Issue
Block a user