mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 00:28:42 +00:00
fix: 387fdf968b
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
03e6a1cb99
commit
52dfec62cd
@ -88,11 +88,13 @@ class HTML {
|
||||
$param = array_merge($param, $config['params']);
|
||||
}
|
||||
|
||||
$url = '//'.UOJConfig::$data['web'][$config['location']]['host'];
|
||||
$url = ''; // '//'.UOJConfig::$data['web'][$config['location']]['host'];
|
||||
if ($param) {
|
||||
$url .= $path.'?'.HTML::query_string_encode($param);
|
||||
} else {
|
||||
} elseif ($path != '/') {
|
||||
$url .= rtrim($path, '/');
|
||||
} else {
|
||||
$url .= $path;
|
||||
}
|
||||
return HTML::escape($url);
|
||||
}
|
||||
|
@ -39,7 +39,7 @@
|
||||
<?php endif ?>
|
||||
<title><?= isset($PageTitle) ? $PageTitle : UOJConfig::$data['profile']['oj-name-short'] ?> - <?= $PageMainTitle ?></title>
|
||||
|
||||
<script type="text/javascript">uojHome = '<?= HTML::url('/') ?>'</script>
|
||||
<script type="text/javascript">uojHome = ''; // '<?= HTML::url('/') ?>'</script>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<?= HTML::css_link('/css/bootstrap.min.css?v=2019.5.31') ?>
|
||||
|
Loading…
Reference in New Issue
Block a user