%PDF- %PDF-
| Direktori : /home2/rezakur1/yt.rezakurnia.com/api/ |
| Current File : /home2/rezakur1/yt.rezakurnia.com/api/health.php |
<?php
require_once __DIR__ . '/../config.php';
jsonResponse([
'success' => true,
'status' => 'online',
'timestamp' => date('c'),
'php' => PHP_VERSION,
'supabase' => SUPABASE_URL ? 'configured' : 'missing',
'upload_dir'=> UPLOAD_DIR,
'writable' => is_writable(UPLOAD_DIR) ? 'yes' : 'no',
]);