mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-25 14:31:53 +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() ?>
|