1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-01-03 23:42:28 +03:00

Addressed a range of deprecation warnings

Closes #3969
This commit is contained in:
Dan Brown
2023-01-21 20:50:04 +00:00
parent 28dda39260
commit 78ebcb6f38
17 changed files with 33 additions and 27 deletions

View File

@@ -126,7 +126,7 @@ class CspService
protected function getAllowedIframeHosts(): array
{
$hosts = config('app.iframe_hosts', '');
$hosts = config('app.iframe_hosts') ?? '';
return array_filter(explode(' ', $hosts));
}