тест 9 обработчика гитлаба

This commit is contained in:
Dmitry Karpukhin 2026-01-16 12:15:29 +08:00
parent 2513a062b2
commit 7d2be066b5

View File

@ -1,5 +1,5 @@
<?php <?php
// комментарий whoami // комментарий
$key = "developer@zachem.info"; $key = "developer@zachem.info";
$payload = trim(file_get_contents("php://input")); $payload = trim(file_get_contents("php://input"));
@ -25,8 +25,7 @@
if($json['total_commits'] > 0) if($json['total_commits'] > 0)
{ {
// $result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull"); $result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull");
$result = shell_exec("whoami");
echo "<p>$result</p>"; echo "<p>$result</p>";
} }