소스 검색

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);