Added git post hook handler

This commit is contained in:
Frank Schubert
2024-01-23 17:00:20 +01:00
parent f060cb50a2
commit 76083e5d53
2 changed files with 49 additions and 0 deletions

View File

@@ -1,2 +1,10 @@
<?php
/*
* will be called in mfBaseController after initializing Controller, before
* running requested action
*/
/* Get last git merge timestamp */
$last_merge_ts = new mfConfig("git.merge.ts");
$this->layout()->set("git_merge_ts", $last_merge_ts->value());