mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-23 03:58:41 +00:00
This commit is contained in:
parent
63b7768f78
commit
5f24f88392
@ -3,9 +3,9 @@
|
|||||||
redirectToLogin();
|
redirectToLogin();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
|
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
|
||||||
become403Page();
|
become403Page();
|
||||||
}
|
}
|
||||||
|
|
||||||
requirePHPLib('form');
|
requirePHPLib('form');
|
||||||
requirePHPLib('judger');
|
requirePHPLib('judger');
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
redirectToLogin();
|
redirectToLogin();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
|
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
|
||||||
become403Page();
|
become403Page();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($_COOKIE['bootstrap4'])) {
|
if (!isset($_COOKIE['bootstrap4'])) {
|
||||||
$REQUIRE_LIB['bootstrap5'] = '';
|
$REQUIRE_LIB['bootstrap5'] = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user