OTRS - Open Ticket Request System 2009-1-8
otrs.org | bugs.otrs.org | lists.otrs.org | faq.otrs.org | doc.otrs.org
Navigation:
print version

New!
OTRS 2.3 is published!

announce at otrs.org:
OTRS announcements and important news.


Powered by:
OTRS.org is hosted by IP Exchange
OTRS.org is powered by Thomas-Krenn Server
powered frische-fische.com
 
Accessing Config Options

4.3. Accessing Config Options

You can read and write (for one request) the config options via the core module "Kernel::Config". The config object is a base object and thus available in each Frontend Module.

If you want to access a config option:


my $ConfigOption = $Self->{ConfigObject}->Get('Prefix::Option');
        

If you want to change a config option at runtime and just for this one request/process:


$Self->{ConfigObject}->Set(
    Key => 'Prefix::Option'
    Value => 'SomeNewValue',
);
        

 

RSS News Feed - Contact

Copyright © 2001-2009 OTRS Team, All Rights Reserved.