Finalize docs title consistency and steamcmd executable validation

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/1575c81b-f8a7-433a-8f3b-e068c0992c18

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-05-08 12:59:06 +00:00 committed by GitHub
parent 079da1990e
commit 72668cdfbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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");
}
}