diff --git a/admin/update.php b/admin/update.php index 8152c71..8b8640d 100644 --- a/admin/update.php +++ b/admin/update.php @@ -3,16 +3,13 @@ ob_start(); // Start reading html $relativePath = "../"; require_once $relativePath . 'classes/dao.php'; -$statut = shell_exec("git status"); -$canUpdate = strpos($statut, 'Your branch is up to date') !== false && - strpos($statut, 'Your branch is up-to-date' !== false); +$log = shell_exec("git log | head -50"); // Show the first few commits + ?>

ADMIN

Mise a jour du site

- -

Une mise à jour est disponible

@@ -22,19 +19,16 @@ $canUpdate = strpos($statut, 'Your branch is up to date') !== false && - -

Aucune mise à jour disponible

-
Voir sur Gitea
-

Statut

+

Log