session_start();
require_once('../config.php');

// Check login
if (!isset($_SESSION['user_id'])) {
header("Location: " . $site_url . "/welcome");
exit;
}

// Rest of the AI code here (same as above, but no header/sidebar includes)
?>




AI Assistant - Ziovix