Hi, I’m 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 don’t 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.
I’ve 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.