ソースを参照

Editing the autoupdater thingie

Andrea Franceschini 8 年 前
コミット
9caa6cb833
1 ファイル変更1 行追加9 行削除
  1. 1 9
      pages/api/git-update.php

+ 1 - 9
pages/api/git-update.php

@@ -1,11 +1,3 @@
 <?php
 
-
-if($_SERVER['REQUEST_METHOD'] != 'POST') {
-	include error(403);
-	die;
-}
-
-if(array_key_exists('secret', $_POST)) {
-	echo $_POST['secret'];
-}
+print_r($_REQUEST);