diff --git a/modules/billing/docs.php b/modules/billing/docs.php index e93301d1..f8b132b4 100644 --- a/modules/billing/docs.php +++ b/modules/billing/docs.php @@ -20,7 +20,7 @@ $docsDir = __DIR__ . '/docs'; $action = $_GET['action'] ?? 'list'; $doc = $_GET['doc'] ?? ''; $docsPagePath = '/docs.php'; -$pageTitle = $action === 'view' ? 'Documentation' : 'Documentation - GSP'; +$pageTitle = 'Documentation - GSP'; /** * Get all documentation folders with their metadata diff --git a/modules/steam_workshop/agent_update_workshop.php b/modules/steam_workshop/agent_update_workshop.php index 4c97f5cd..5ac6b86e 100644 --- a/modules/steam_workshop/agent_update_workshop.php +++ b/modules/steam_workshop/agent_update_workshop.php @@ -354,9 +354,7 @@ function sw_agent_steamcmd_download(array $mod, array $profile, array $tpl_vars, // Validate that steamcmd exists if (!$dry_run) { - if (!is_file($steamcmd)) { - return array('ok' => false, 'error' => "SteamCMD not found: $steamcmd"); - } elseif (!is_executable($steamcmd)) { + if (!is_executable($steamcmd)) { return array('ok' => false, 'error' => "SteamCMD is not executable: $steamcmd"); } }