Files
wevads-platform/scripts/opt__wevads-arsenal__public__api__test.php
2026-02-26 04:53:11 +01:00

13 lines
334 B
PHP
Executable File

<?php
header('Content-Type: application/json');
echo json_encode([
'status' => 'ok',
'message' => 'API test working',
'timestamp' => date('Y-m-d H:i:s'),
'services' => [
'apache' => true,
'postgresql' => function_exists('pg_connect') ? 'extension_loaded' : 'not_loaded'
]
], JSON_PRETTY_PRINT);
?>