This commit is contained in:
Anne-Cath
2025-01-20 14:02:11 +01:00
parent 27022ed93a
commit 2f54f0a253
11 changed files with 181 additions and 66 deletions

View File

@@ -96,7 +96,7 @@ class Branding
$sWorkingPath = APPROOT.'env-'.utils::GetCurrentEnvironment().'/';
$aThemeParameters = json_decode(@file_get_contents($sWorkingPath.'branding/logos.json'), true);
//environment type from config.php
$sEnvType = MetaModel::GetConfig()->Get('branding_environment');
$sEnvType = MetaModel::GetConfig()->Get('local_branding');
if (utils::IsNullOrEmptyString($sEnvType)) {
$sEnvType = 'default';
}