소스 검색

增加钩子

chenbo 4 년 전
부모
커밋
3ce54907d2
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  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);