1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-23 19:32:29 +01:00
BookStack/app/Theming
Dan Brown 4da72aa267
Fixed issue with translation loading without theme
System was using the empty state return from theme_path,
when no theme was configured, for loading in languages
which would result in the root path being looked up upon.

This changes the theme_path helper to return null in cases a theme
is not configured instead of empty string to help prevent assumed
return path will be legitimate, and to help enforce error case
handling.

For #2836
2021-07-03 11:53:46 +01:00
..
ThemeEvents.php Added login/register theme events 2021-03-19 21:54:50 +00:00
ThemeService.php Fixed issue with translation loading without theme 2021-07-03 11:53:46 +01:00