|
|
|
@ -106,12 +106,14 @@ int yon_load_proceed(YON_CONFIG_TYPE type){
|
|
|
|
|
case YON_CONFIG_GLOBAL:
|
|
|
|
|
yon_debug_output("%s\n",yon_char_unite(config_get_command("global"),NULL));
|
|
|
|
|
yon_config_load_config(type,config_get_command("global"),NULL);
|
|
|
|
|
yon_ubl_status_box_render(yon_char_get_localised_from_lib(GLOBAL_LOAD_SUCCESS_LABEL),BACKGROUND_IMAGE_SUCCESS_TYPE);
|
|
|
|
|
update_loaded_logrotate();
|
|
|
|
|
return 1;
|
|
|
|
|
break;
|
|
|
|
|
case YON_CONFIG_LOCAL:
|
|
|
|
|
yon_config_load_config(type,config_get_command("system"),NULL);
|
|
|
|
|
yon_config_load_config(YON_CONFIG_GLOBAL,config_get_global_only_parameters,NULL);
|
|
|
|
|
yon_ubl_status_box_render(yon_char_get_localised_from_lib(LOCAL_LOAD_SUCCESS_LABEL),BACKGROUND_IMAGE_SUCCESS_TYPE);
|
|
|
|
|
update_loaded_logrotate();
|
|
|
|
|
return 1;
|
|
|
|
|
break;
|
|
|
|
|