mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Remove Cron Key Requirement from cron scripts in /scripts folder and set to only run on the cli
This commit is contained in:
@@ -9,10 +9,10 @@ require_once "config.php";
|
||||
$checks = [];
|
||||
|
||||
// Execute the git command to get the latest commit hash
|
||||
$commitHash = exec('git log -1 --format=%H');
|
||||
$commitHash = shell_exec('git log -1 --format=%H');
|
||||
|
||||
// Get branch info
|
||||
$gitBranch = exec('git rev-parse --abbrev-ref HEAD');
|
||||
$gitBranch = shell_exec('git rev-parse --abbrev-ref HEAD');
|
||||
|
||||
// Section: System Information
|
||||
$systemInfo = [];
|
||||
|
||||
Reference in New Issue
Block a user