Code to Upload a Configuration File

Hi, Im trying to make a Package that changes some configuration settings (like a calendar in order to set a specific calendar, holydays, and working times and other OTRS configurations). I dont like to overwrite manually Config.pm or Defeults.pm or ZZAuto.pm or ZZAAuto.pm, I know that the sysconfig web interface has button to upload a configuration file (and works very well) but I like to use that functionality in a <CodeInstall > part of a Package. Ive made some tries using the Kernel::System::Web::Request (but I think the you need to be in a web environment J ) Does anyone knows Is there any way to access the config upload functions via code in a Package installation? For example to write the config file, please it some ware in the filesystem and upload it to the main configuration, or to upload the config options itself via code in a package Saludos / Regards, Carlos Fernando Rodríguez Hdz. _____
participants (1)
-
Carlos Fernando Rodríguez Hdz