diff --git a/docroot/git/push.php b/docroot/git/push.php index 1eb78a7..3cc4f7f 100755 --- a/docroot/git/push.php +++ b/docroot/git/push.php @@ -10,8 +10,12 @@ system ( "echo 'Message: " . $pData->head_commit->message . "' >> /tmp/post.log" ); - if ($pData->head_commit->message [0] != '!') + if ($pData->head_commit->message [0] != '!') { system ( "cd /usr/web/sites/app.zirror.com/;git pull" ); + system ( "echo 'NO ESC' >> /tmp/post.log" ); + } else { + system ( "echo 'ESC' >> /tmp/post.log" ); + } } ?>