This commit is contained in:
Flatlogic Bot 2025-09-23 14:44:19 +00:00
parent 8e88192aea
commit ce38f4a92c
2 changed files with 13 additions and 0 deletions

8
healthz.php Normal file
View File

@ -0,0 +1,8 @@
<?php
// Simple health check endpoint
header('Content-Type: application/json');
echo json_encode([
'status' => 'ok',
'timestamp' => date('c'),
'php_version' => phpversion()
]);

View File

@ -91,6 +91,11 @@ $frameworks = [
<footer class="footer mt-auto py-3">
<div class="container text-center">
<span class="text-muted">&copy; <?php echo date("Y"); ?> ComplianceOS. All Rights Reserved.</span>
<div class="mt-2">
<small class="text-muted">
PHP: <?php echo phpversion(); ?> | Current time: <?php echo date('Y-m-d H:i:s'); ?> | <a href="/healthz">Health Check</a>
</small>
</div>
</div>
</footer>