diff --git a/admin_debug.php b/admin_debug.php index 1e200bf5a..894151c35 100644 --- a/admin_debug.php +++ b/admin_debug.php @@ -8,6 +8,9 @@ $checks = []; +// Execute the git command to get the latest commit hash +$commitHash = exec('git log -1 --format=%H'); + // Section: System Information $systemInfo = []; @@ -316,10 +319,6 @@ function getDirStats($dir) { } $tablesResult->free(); - $databaseStats[] = [ - 'name' => 'Current Database Version', - 'value' => CURRENT_DATABASE_VERSION, - ]; $databaseStats[] = [ 'name' => 'Total number of tables', 'value' => $totalTables, @@ -518,6 +517,17 @@ function getDirStats($dir) {
+ + + + + + + + + +
Current App Version
Current DB Version
+

System Information