mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-23 14:58:41 +00:00
22 lines
415 B
PHP
22 lines
415 B
PHP
<?php
|
|
requirePHPLib('form');
|
|
|
|
if (!Auth::check() && UOJConfig::$data['switch']['force-login']) {
|
|
redirectToLogin();
|
|
}
|
|
|
|
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
|
|
become403Page();
|
|
}
|
|
|
|
$REQUIRE_LIB['bootstrap5'] = '';
|
|
?>
|
|
|
|
<?php echoUOJPageHeader(UOJLocale::get('image hosting')) ?>
|
|
|
|
<h1 class="h2">
|
|
<?= UOJLocale::get('image hosting') ?>
|
|
</h1>
|
|
|
|
<?php echoUOJPageFooter() ?>
|