hook.php 169 B

1234567
  1. <?php
  2. chdir(config('project_path'));
  3. exec("git pull origin master 2>&1", $out);
  4. foreach($out as $v)
  5. {
  6. echo iconv( 'GB2312','UTF-8', $v)."<br>";
  7. }