<?php
require_once __DIR__ . "/../app/db.php";
try {
  smm_db();
  smm_json_response(["ok"=>true,"time"=>smm_now_iso()]);
} catch (Throwable $e) {
  smm_json_response(["ok"=>false,"error"=>$e->getMessage()], 500);
}
