Skip to content

Commit

Permalink
fix one click
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue committed Mar 15, 2018
1 parent 2f36490 commit 4dc6a9b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion trunk/web/admin/problem_df_change.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php require_once("admin-header.php");
require_once("../include/check_post_key.php");
if ($_SERVER['REQUEST_METHOD']=="POST"){
require_once("../include/check_post_key.php");
}else{
require_once("../include/check_get_key.php");

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

0 comments on commit 4dc6a9b

Please sign in to comment.