Skip to content

Commit

Permalink
Update problem_import_xml.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Sep 22, 2022
1 parent c78be9b commit 1e4e399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/web/admin/problem_import_xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require_once ("admin-header.php");
require_once("../include/check_post_key.php");

if (!(isset($_SESSION[$OJ_NAME.'_'.'administrator'])||isset($_SESSION[$OJ_NAME.'_problem_editor']))) {
if (!(isset($_SESSION[$OJ_NAME.'_'.'administrator'])||isset($_SESSION[$OJ_NAME.'_problem_importer']))) {
echo "<a href='../loginpage.php'>Please Login First!</a>";
exit(1);
}
Expand Down

0 comments on commit 1e4e399

Please sign in to comment.