Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # --
- # Kernel/Config.pm - Config file for OTRS kernel
- # Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
- # --
- # $Id: Config.pm.dist,v 1.18 2006/09/07 16:15:41 mh Exp $
- # --
- # This software comes with ABSOLUTELY NO WARRANTY. For details, see
- # the enclosed file COPYING for license information (GPL). If you
- # did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
- # --
- # Note:
- #
- # -->> OTRS does have a lot of config settings. For more settings
- # (Notifications, Ticket::ViewAccelerator, Ticket::NumberGenerator,
- # LDAP, PostMaster, Session, Preferences, ...) see
- # Kernel/Config/Defaults.pm and copy your wanted lines into "this"
- # config file. This file will not be changed on update!
- #
- # --
- package Kernel::Config;
- sub Load {
- my $Self = shift;
- # ---------------------------------------------------- #
- # ---------------------------------------------------- #
- # #
- # Start of your own config options!!! #
- # #
- # ---------------------------------------------------- #
- # ---------------------------------------------------- #
- # ---------------------------------------------------- #
- # database settings #
- # ---------------------------------------------------- #
- # DatabaseHost
- # (The database host.)
- $Self->{'DatabaseHost'} = 'censored_host';
- # Database
- # (The database name.)
- $Self->{'Database'} = 'censored_databse';
- # DatabaseUser
- # (The database user.)
- $Self->{'DatabaseUser'} = 'censored_user';
- # DatabasePw
- # (The password of database user. You also can use bin/CryptPassword.pl
- # for crypted passwords.)
- $Self->{'DatabasePw'} = 'censored_password';
- # DatabaseDSN
- # (The database DSN for MySQL ==> more: "man DBD::mysql")
- $Self->{DatabaseDSN} = "DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost};";
- # (The database DSN for PostgreSQL ==> more: "man DBD::Pg")
- # if you want to use a local socket connection
- # $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
- # if you want to use a tcpip connection
- # $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};host=$Self->{DatabaseHost};";
- # ---------------------------------------------------- #
- # fs root directory
- # ---------------------------------------------------- #
- $Self->{Home} = '/opt/otrs';
- # ---------------------------------------------------- #
- # insert your own config settings "here" #
- # config settings taken from Kernel/Config/Defaults.pm #
- # ---------------------------------------------------- #
- # $Self->{SessionUseCookie} = 0;
- # $Self->{'CheckMXRecord'} = 1;
- # ---------------------------------------------------- #
- # ---------------------------------------------------- #
- # data inserted by installer #
- # ---------------------------------------------------- #
- # $DIBI$
- $Self->{'SystemID'} = 10;
- $Self->{'SecureMode'} = 1;
- $Self->{'Organization'} = '';
- $Self->{'LogModule::LogFile'} = '/tmp/otrs.log';
- $Self->{'LogModule'} = 'Kernel::System::Log::SysLog';
- $Self->{'FQDN'} = 'censored';
- $Self->{'DefaultLanguage'} = 'de';
- $Self->{'DefaultCharset'} = 'utf-8';
- # $Self->{'DefaultCharset'} = 'iso-8859-1';
- # ---------------------------------------------------- #
- # ---------------------------------------------------- #
- # #
- # End of your own config options!!! #
- # #
- # ---------------------------------------------------- #
- # ---------------------------------------------------- #
- }
- # ---------------------------------------------------- #
- # needed system stuff (don't edit this) #
- # ---------------------------------------------------- #
- use strict;
- use vars qw(@ISA $VERSION);
- use Kernel::Config::Defaults;
- push (@ISA, 'Kernel::Config::Defaults');
- $VERSION = '$Revision: 1.20 $';
- $VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;
- # -----------------------------------------------------#
- 1;
Advertisement
Add Comment
Please, Sign In to add comment