chenbo 4 gadi atpakaļ
vecāks
revīzija
3ce54907d2
1 mainītis faili ar 17 papildinājumiem un 0 dzēšanām
  1. 17 0
      commands/git/update.php

+ 17 - 0
commands/git/update.php

@@ -0,0 +1,17 @@
+<?php
+/**
+ * Created by PhpStorm.
+ * User: zhima
+ * Date: 2019/1/25
+ * Time: 上午9:54
+ */
+
+
+
+
+$command = "cd /home/wwwroot/default/fission-weChat;git pull";
+
+
+exec($command,$data);
+
+print_r($data);