Browse Source

Editing the autoupdater thingie

Andrea Franceschini 8 years ago
parent
commit
9caa6cb833
1 changed files with 1 additions and 9 deletions
  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);