Pārlūkot izejas kodu

Editing the autoupdater thingie

Andrea Franceschini 8 gadi atpakaļ
vecāks
revīzija
9caa6cb833
1 mainītis faili ar 1 papildinājumiem un 9 dzēšanām
  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);