Fix tool URLs in nav dropdown to use absolute paths

Relative slug.php URLs resolved to /dashboard/slug.php when the nav
was included from /dashboard/* pages. Prefix with / to make absolute.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-23 20:13:22 +02:00
parent a9e64b65ce
commit 58e1d1dae1
+1 -1
View File
@@ -1578,7 +1578,7 @@ function dbnToolsLaunchedTools(?string $language = null): array
'sub' => $sub,
'description' => $description,
'badge' => $badge,
'url' => $slug . '.php',
'url' => '/' . $slug . '.php',
'icon' => $icons[$slug],
];
}