<?php
// admin/create_admin.php
// Only superadmin can create / manage admin users
if (session_status() === PHP_SESSION_NONE) session_start();

include __DIR__ . '/config/journal_config.php';
include __DIR__ . '/config/auth.php';

require_role('superadmin');   // 🔒 superadmin only

$success = $error = '';
?>


hello admin