fix: add missing bootstrap_path() helper function

This commit is contained in:
root
2026-05-21 17:15:31 +02:00
parent 70ebbac9f0
commit 17f543e7c9
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -60,6 +60,13 @@ if (! function_exists('isDarkColor')) {
}
}
if (! function_exists('bootstrap_path')) {
function bootstrap_path(string $path = ''): string
{
return base_path('bootstrap' . ($path ? DIRECTORY_SEPARATOR . $path : ''));
}
}
if (! function_exists('logJson')) {
function logJson(string $level, string $message, array $context = []): void
{