<?php
ini_set('display_errors', 1);
header('Content-Type: application/json');
require_once dirname(__FILE__) . '/../../config.php';
$db = getDB();
$stmt = $db->query("DESCRIBE admin_sessions");
$cols = $stmt->fetchAll(PDO::FETCH_ASSOC);
echo json_encode($cols);
