xieruidong %!s(int64=2) %!d(string=hai) anos
pai
achega
1b2fe65e74
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      public/gitpull.php

+ 1 - 0
public/gitpull.php

@@ -1,4 +1,5 @@
 <?php
+exec("cd .. && git reset --hard",$out);
 exec("cd .. && git pull 2<&1",$out);
 header('Content-type: application/json');
 echo json_encode($out);