mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-29 14:28:42 +02:00
Allow to override the banner with its existing env variable
This commit is contained in:
parent
ae08d9539d
commit
ac89489202
6 changed files with 13 additions and 22 deletions
|
@ -30,7 +30,7 @@ use App\Settings\SystemSettings\CustomizationSettings;
|
|||
*/
|
||||
class BannerHelper
|
||||
{
|
||||
public function __construct(private CustomizationSettings $customizationSettings)
|
||||
public function __construct(private readonly CustomizationSettings $customizationSettings)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -43,4 +43,4 @@ class BannerHelper
|
|||
{
|
||||
return $this->customizationSettings->banner ?? "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue