<?php
/**
 * Copy to xui-env.local.php — required for 3x-ui (sanaei) servers.
 *
 * auth_mode:
 *   auto   — Bearer if XUI_API_TOKEN set, else JSON login with panel user/pass (default)
 *   bearer — API token only (Settings → Security → API Token)
 *   cookie — username/password JSON login only
 */

$XUI_AUTH_MODE = 'auto';
$XUI_BASE_URL = 'https://panel.example.com';
$XUI_API_TOKEN = '';
$XUI_USERNAME = '';
$XUI_PASSWORD = '';
$XUI_SUBSCRIPTION_BASE_URL = 'https://sub.example.com:10882';
$XUI_SUB_PATH = '/sub/';
$XUI_JSON_SUB_PATH = '/json/';
$XUI_CLASH_SUB_PATH = '/clash/';
$XUI_HTTP_TIMEOUT_SECONDS = 60;
$XUI_HTTP_CONNECT_TIMEOUT_SECONDS = 20;
