Panel/modules/steam_workshop/main.php
copilot-swe-agent[bot] 18b6bc1a14 Fix Steam Workshop search scraping flow
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-01-31 20:16:28 +00:00

20 lines
437 B
PHP

<?php
declare(strict_types=1);
/*
* OGP - Open Game Panel
* Steam Workshop module entrypoint.
*/
require_once __DIR__ . '/controllers/SteamWorkshopController.php';
function exec_ogp_module(): void
{
global $db;
$action = $_GET['action'] ?? '';
if ($action !== 'search') {
echo '<h2>' . get_lang('steam_workshop') . '</h2>';
}
$controller = new SteamWorkshopController($db);
$controller->handle();
}