From 58436d108d80a2553115a8c1cffc48122bbf5f8a Mon Sep 17 00:00:00 2001 From: Boy132 Date: Mon, 12 May 2025 09:36:54 +0200 Subject: [PATCH] small helper cleanup --- app/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers.php b/app/helpers.php index 994bdc5b6..d258fd2b3 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -90,7 +90,7 @@ if (!function_exists('resolve_path')) { if (!function_exists('plugin_path')) { function plugin_path(string $plugin, string ...$paths): string { - return str_replace('//', '', base_path('plugins/') . $plugin . '/' . implode('/', $paths)); + return join_paths(base_path('plugins'), $plugin, implode('/', $paths)); } }