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:
+1
-1
@@ -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],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user