We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f36490 commit 4dc6a9bCopy full SHA for 4dc6a9b
1 file changed
trunk/web/admin/problem_df_change.php
@@ -1,5 +1,10 @@
1
<?php require_once("admin-header.php");
2
-require_once("../include/check_post_key.php");
+if ($_SERVER['REQUEST_METHOD']=="POST"){
3
+ require_once("../include/check_post_key.php");
4
+}else{
5
+ require_once("../include/check_get_key.php");
6
+
7
+}
8
if (!(isset($_SESSION[$OJ_NAME.'_'.'administrator']))){
9
echo "<a href='../loginpage.php'>Please Login First!</a>";
10
exit(1);
0 commit comments