For the sake of easyness of administration when a lot of configuration is needed in the Config.pm, I would like to create a directury structure in which I can have configuration files for different customers or groups.
How do I include or reference those from the Config.pm file in order for the content in the sub file to be recognized?
Below is some files and their content. The error_log is not complaining that the file is missing, so in some way the file is at least found.
Config.pm:
Code: Select all
package Kernel::Config;
sub Load {
#other activities
require 'customer_config.pm';
#other activities
}
1;
Code: Select all
# Filter Queues
$Self->{TicketAcl}->{'ACL-hide-queues'} = {
Properties => {
},
PossibleNot => {Ticket => { Queue =>
['[RegExp]^*'] },
},
};
1;
Thanks in advance!