1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-23 11:22:33 +01:00
BookStack/app
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
..
Actions Reviewed tag in seach work 2021-05-24 16:12:09 +01:00
Api Ran phpcbf and updated phpcs.xml 2021-03-07 22:24:05 +00:00
Auth Ordered entity permission roles by display name 2021-06-04 22:36:30 +01:00
Config Added croatian to required arrays/lists 2021-06-02 21:55:30 +01:00
Console Started refactoring of view service 2021-05-16 10:49:37 +01:00
Entities Fixed content parsing break with line html comment 2021-06-13 12:53:04 +01:00
Exceptions Moved NotifyException render work from handler to exception 2021-05-08 19:00:09 +01:00
Facades Reviewed PR to add import user avatars va LDAP 2021-05-24 18:54:08 +01:00
Http Fixed issue with using old non-existing reference in controller 2021-06-13 14:16:09 +01:00
Interfaces Started refactoring of view service 2021-05-16 10:49:37 +01:00
Notifications Add feature to send test e-mails 2019-10-16 08:24:33 +02:00
Providers Added testing to favourite system 2021-05-23 14:34:36 +01:00
Settings Ran phpcbf and updated phpcs.xml 2021-03-07 22:24:05 +00:00
Theming Fixed issue with translation loading without theme 2021-07-03 11:53:46 +01:00
Traits Ran phpcbf and updated phpcs.xml 2021-03-07 22:24:05 +00:00
Translation Fixed issue with translation loading without theme 2021-07-03 11:53:46 +01:00
Uploads Fixed issue with using old non-existing reference in controller 2021-06-13 14:16:09 +01:00
Util Fixed content parsing break with line html comment 2021-06-13 12:53:04 +01:00
Application.php
helpers.php Fixed issue with translation loading without theme 2021-07-03 11:53:46 +01:00
Model.php