diff --git a/ACTUALITE/index.php b/ACTUALITE/index.php index 366c223..08b43d7 100644 --- a/ACTUALITE/index.php +++ b/ACTUALITE/index.php @@ -57,7 +57,7 @@ Bonne lecture ! --> public static function get() { - $commitDate = new \DateTime(trim(exec('git log -n1 --pretty=%ci HEAD'))); + $commitDate = new \DateTime(trim(exec('git log -n1 --pretty=%ci index.php'))); $commitDate->setTimezone(new \DateTimeZone('Europe/Paris')); return sprintf('%s', $commitDate->format('d/m/Y')); // H:i:s'));