[Rebranding] Added custom favicon and white background to meta
This commit is contained in:
parent
750ed29ac9
commit
8eb44762b2
|
@ -536,6 +536,8 @@ function config_update_config () {
|
||||||
|
|
||||||
if (!config_update_value ('meta_custom_logo', (string) get_parameter ('meta_custom_logo')))
|
if (!config_update_value ('meta_custom_logo', (string) get_parameter ('meta_custom_logo')))
|
||||||
$error_update[] = __('Custom logo metaconsole');
|
$error_update[] = __('Custom logo metaconsole');
|
||||||
|
if (!config_update_value ('meta_custom_logo_white_bg', (string) get_parameter ('meta_custom_logo_white_bg')))
|
||||||
|
$error_update[] = __('Custom logo metaconsole (white background)');
|
||||||
if (!config_update_value ('meta_custom_logo_login', (string) get_parameter ('meta_custom_logo_login')))
|
if (!config_update_value ('meta_custom_logo_login', (string) get_parameter ('meta_custom_logo_login')))
|
||||||
$error_update[] = __('Custom logo login metaconsole');
|
$error_update[] = __('Custom logo login metaconsole');
|
||||||
if (!config_update_value ('meta_custom_splash_login', (string) get_parameter ('meta_custom_splash_login')))
|
if (!config_update_value ('meta_custom_splash_login', (string) get_parameter ('meta_custom_splash_login')))
|
||||||
|
@ -1268,6 +1270,10 @@ function config_process_config () {
|
||||||
config_update_value ('meta_custom_logo', 'logo_pandora_metaconsola.png');
|
config_update_value ('meta_custom_logo', 'logo_pandora_metaconsola.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset ($config["meta_custom_logo_white_bg"])) {
|
||||||
|
config_update_value ('pandora_logo_head_white_bg', 'pandora_logo_head_white_bg.png');
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset ($config["meta_custom_logo_login"])) {
|
if (!isset ($config["meta_custom_logo_login"])) {
|
||||||
config_update_value ('meta_custom_logo_login', 'pandora_logo.png');
|
config_update_value ('meta_custom_logo_login', 'pandora_logo.png');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue