<?php
defined('ABSPATH') || exit;

/**
 * R-LLM SEO Bootstrap
 */

require_once __DIR__ . '/helpers/option.php';
require_once __DIR__ . '/helpers/gateway.php';
require_once __DIR__ . '/helpers/quota.php';

// 管理画面 / Ajax のみ
if (is_admin() || (defined('DOING_AJAX') && DOING_AJAX)) {

	// admin
	require_once __DIR__ . '/admin/license-guard.php';
	require_once __DIR__ . '/admin/assets.php';
	require_once __DIR__ . '/admin/menu.php';
	require_once __DIR__ . '/admin/quota-ajax.php';

	// pages
	require_once __DIR__ . '/pages/settings-page.php';

	// F01
	require_once __DIR__ . '/features/F01/feature.php';
	require_once __DIR__ . '/features/F01/service.php';
	require_once __DIR__ . '/features/F01/view.php';
	require_once __DIR__ . '/features/F01/ajax.php';
	require_once __DIR__ . '/features/F01/page.php';

	// F02
	require_once __DIR__ . '/features/F02/feature.php';
	require_once __DIR__ . '/features/F02/service.php';
	require_once __DIR__ . '/features/F02/view.php';
	require_once __DIR__ . '/features/F02/ajax.php';
	require_once __DIR__ . '/features/F02/page.php';

	// F03
	require_once __DIR__ . '/features/F03/feature.php';
	require_once __DIR__ . '/features/F03/service.php';
	require_once __DIR__ . '/features/F03/view.php';
	require_once __DIR__ . '/features/F03/ajax.php';
	require_once __DIR__ . '/features/F03/page.php';
}