You've already forked Atomcms-edit
fix: add missing bootstrap_path() helper function
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user