Skip to content

NOW MANAGED ON CODEBERG

Merge branch 'v21.05.x'

Dan Brown1c43602f4bed
diff --cc app/helpers.php
index 618c71bee,a5a04f113..9edc22c40
--- a/app/helpers.php
+++ b/app/helpers.php
@@@ -105,10 -102,10 +107,10 @@@ function theme_path(string $path = '')
$theme = config('view.theme');
if (!$theme) {
- return '';
+ return null;
}
- return base_path('themes/' . $theme .($path ? DIRECTORY_SEPARATOR.$path : $path));
+ return base_path('themes/' . $theme . ($path ? DIRECTORY_SEPARATOR . $path : $path));
}
/**