01
This commit is contained in:
parent
8e88192aea
commit
ce38f4a92c
8
healthz.php
Normal file
8
healthz.php
Normal 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()
|
||||||
|
]);
|
||||||
@ -91,6 +91,11 @@ $frameworks = [
|
|||||||
<footer class="footer mt-auto py-3">
|
<footer class="footer mt-auto py-3">
|
||||||
<div class="container text-center">
|
<div class="container text-center">
|
||||||
<span class="text-muted">© <?php echo date("Y"); ?> ComplianceOS. All Rights Reserved.</span>
|
<span class="text-muted">© <?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>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user