PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
ticketing-old
/
include
<?php /********************************************************************* ost-config.php Static osTicket configuration file. Mainly useful for mysql login info. Created during installation process and shouldn't change even on upgrades. Peter Rotich <peter@osticket.com> Copyright (c) 2006-2010 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. See LICENSE.TXT for details. vim: expandtab sw=4 ts=4 sts=4: $Id: $ **********************************************************************/ #Disable direct access. if(!strcasecmp(basename($_SERVER['SCRIPT_NAME']),basename(__FILE__)) || !defined('INCLUDE_DIR')) die('kwaheri rafiki!'); #Install flag define('OSTINSTALLED',FALSE); if(OSTINSTALLED!=TRUE){ if(!file_exists(ROOT_DIR.'setup/install.php')) die('Error: Contact system admin.'); //Something is really wrong! //Invoke the installer. header('Location: '.ROOT_PATH.'setup/install.php'); exit; } # Encrypt/Decrypt secret key - randomly generated during installation. define('SECRET_SALT','%CONFIG-SIRI'); #Default admin email. Used only on db connection issues and related alerts. define('ADMIN_EMAIL','%ADMIN-EMAIL'); # Database Options # ==================================================== # Mysql Login info # define('DBTYPE','mysql'); # DBHOST can have comma separated hosts (e.g db1:6033,db2:6033) define('DBHOST','%CONFIG-DBHOST'); define('DBNAME','%CONFIG-DBNAME'); define('DBUSER','%CONFIG-DBUSER'); define('DBPASS','%CONFIG-DBPASS'); # Database TCP/IP Connect Timeout (default: 3 seconds) # Timeout is important when DBHOST has multiple proxies to try # define('DBCONNECT_TIMEOUT', 3); # Table prefix define('TABLE_PREFIX','%CONFIG-PREFIX'); # # SSL Options # --------------------------------------------------- # SSL options for MySQL can be enabled by adding a certificate allowed by # the database server here. To use SSL, you must have a client certificate # signed by a CA (certificate authority). You can easily create this # yourself with the EasyRSA suite. Give the public CA certificate, and both # the public and private parts of your client certificate below. # # Once configured, you can ask MySQL to require the certificate for # connections: # # > create user osticket; # > grant all on osticket.* to osticket require subject '<subject>'; # # More information (to-be) available in doc/security/hardening.md # define('DBSSLCA','/path/to/ca.crt'); # define('DBSSLCERT','/path/to/client.crt'); # define('DBSSLKEY','/path/to/client.key'); # # Mail Options # =================================================== # Option: MAIL_EOL (default: \n) # # Some mail setups do not handle emails with \r\n (CRLF) line endings for # headers and base64 and quoted-response encoded bodies. This is an error # and a violation of the internet mail RFCs. However, because this is also # outside the control of both osTicket development and many server # administrators, this option can be adjusted for your setup. Many folks who # experience blank or garbled email from osTicket can adjust this setting to # use "\n" (LF) instead of the CRLF default. # # References: # http://www.faqs.org/rfcs/rfc2822.html # https://github.com/osTicket/osTicket-1.8/issues/202 # https://github.com/osTicket/osTicket-1.8/issues/700 # https://github.com/osTicket/osTicket-1.8/issues/759 # https://github.com/osTicket/osTicket-1.8/issues/1217 # define(MAIL_EOL, "\r\n"); # # HTTP Server Options # =================================================== # Option: ROOT_PATH (default: <auto detect>, fallback: /) # # If you have a strange HTTP server configuration and osTicket cannot # discover the URL path of where your osTicket is installed, define # ROOT_PATH here. # # The ROOT_PATH is the part of the URL used to access your osTicket # helpdesk before the '/scp' part and after the hostname. For instance, for # http://mycompany.com/support', the ROOT_PATH should be '/support/' # # ROOT_PATH *must* end with a forward-slash! # define('ROOT_PATH', '/support/'); # Option: TRUSTED_PROXIES (default: <none>) # # To support running osTicket installation on a web servers that sit behind a # load balancer, HTTP cache, or other intermediary (reverse) proxy; it's # necessary to define trusted proxies to protect against forged http headers # # osTicket supports passing the following http headers from a trusted proxy; # - HTTP_X_FORWARDED_FOR => Chain of client's IPs # - HTTP_X_FORWARDED_PROTO => Client's HTTP protocal (http | https) # # You'll have to explicitly define comma separated IP addreseses or CIDR of # upstream proxies to trust. Wildcard "*" (not recommended) can be used to # trust all chained IPs as proxies in cases that ISP/host doesn't provide # IPs of loadbalancers or proxies. # # References: # http://en.wikipedia.org/wiki/X-Forwarded-For # define('TRUSTED_PROXIES', ''); # Option: LOCAL_NETWORKS (default: 127.0.0.0/24) # # When running osTicket as part of a cluster it might become necessary to # whitelist local/virtual networks that can bypass some authentication/checks. # # define comma separated IP addreseses or enter CIDR of local network. define('LOCAL_NETWORKS', '127.0.0.0/24'); # # Session Options # =================================================== # # Session Name (SESSID) # --------------------------------------------------- # Option: SESSION_SESSID (default: OSTSESID) # # osTicket Session Name (SESSID) - used to set session cookie define('SESSION_SESSID', 'OSTSESSID'); # Session Storage Backends # --------------------------------------------------- # Option: SESSION_BACKEND (default: database) # # Values: 'database' (default) # 'memcache' (Use Memcache servers) # 'memcache.database' (Memcache Primary, Database Secondary) # 'system' (use PHP settings as configured (not recommended!)) # # osTicket supports Database by default as well as Memcache as a session # storage backend if the `memcache` pecl extesion is installed. This also # requires MEMCACHE_SERVERS to be configured as well. # # MEMCACHE_SERVERS can be defined as a comma-separated list of host:port # specifications. If more than one server is listed, the session is written # to all of the servers for redundancy. # # define('SESSION_BACKEND', 'memcache'); # define('MEMCACHE_SERVERS', 'server1:11211,server2:11211'); ?>
[+]
..
[-] .MANIFEST
[edit]
[-] ajax.admin.php
[edit]
[-] ajax.config.php
[edit]
[-] ajax.content.php
[edit]
[-] ajax.draft.php
[edit]
[-] ajax.email.php
[edit]
[-] ajax.export.php
[edit]
[-] ajax.filter.php
[edit]
[-] ajax.forms.php
[edit]
[-] ajax.i18n.php
[edit]
[-] ajax.kbase.php
[edit]
[-] ajax.note.php
[edit]
[-] ajax.orgs.php
[edit]
[-] ajax.plugins.php
[edit]
[-] ajax.schedule.php
[edit]
[-] ajax.search.php
[edit]
[-] ajax.sequence.php
[edit]
[-] ajax.staff.php
[edit]
[-] ajax.tasks.php
[edit]
[-] ajax.thread.php
[edit]
[-] ajax.tickets.php
[edit]
[-] ajax.tips.php
[edit]
[-] ajax.upgrader.php
[edit]
[-] ajax.users.php
[edit]
[-] api.cron.php
[edit]
[-] api.tickets.php
[edit]
[-] class.2fa.php
[edit]
[-] class.ajax.php
[edit]
[-] class.api.php
[edit]
[-] class.app.php
[edit]
[-] class.attachment.php
[edit]
[-] class.auth.php
[edit]
[-] class.avatar.php
[edit]
[-] class.banlist.php
[edit]
[-] class.base32.php
[edit]
[-] class.businesshours.php
[edit]
[-] class.canned.php
[edit]
[-] class.captcha.php
[edit]
[-] class.category.php
[edit]
[-] class.charset.php
[edit]
[-] class.cli.php
[edit]
[-] class.client.php
[edit]
[-] class.collaborator.php
[edit]
[-] class.company.php
[edit]
[-] class.config.php
[edit]
[-] class.controller.php
[edit]
[-] class.cron.php
[edit]
[-] class.crypto.php
[edit]
[-] class.csrf.php
[edit]
[-] class.dept.php
[edit]
[-] class.dispatcher.php
[edit]
[-] class.draft.php
[edit]
[-] class.dynamic_forms.php
[edit]
[-] class.email.php
[edit]
[-] class.error.php
[edit]
[-] class.export.php
[edit]
[-] class.faq.php
[edit]
[-] class.file.php
[edit]
[-] class.filter.php
[edit]
[-] class.filter_action.php
[edit]
[-] class.format.php
[edit]
[-] class.forms.php
[edit]
[-] class.http.php
[edit]
[-] class.i18n.php
[edit]
[-] class.import.php
[edit]
[-] class.json.php
[edit]
[-] class.knowledgebase.php
[edit]
[-] class.list.php
[edit]
[-] class.lock.php
[edit]
[-] class.log.php
[edit]
[-] class.mail.php
[edit]
[-] class.mailer.php
[edit]
[-] class.mailfetch.php
[edit]
[-] class.mailparse.php
[edit]
[-] class.message.php
[edit]
[-] class.migrater.php
[edit]
[-] class.mime.php
[edit]
[-] class.misc.php
[edit]
[-] class.model.php
[edit]
[-] class.nav.php
[edit]
[-] class.note.php
[edit]
[-] class.oauth2.php
[edit]
[-] class.organization.php
[edit]
[-] class.orm.php
[edit]
[-] class.osticket.php
[edit]
[-] class.ostsession.php
[edit]
[-] class.page.php
[edit]
[-] class.pagenate.php
[edit]
[-] class.passwd.php
[edit]
[-] class.pdf.php
[edit]
[-] class.plugin.php
[edit]
[-] class.priority.php
[edit]
[-] class.queue.php
[edit]
[-] class.report.php
[edit]
[-] class.role.php
[edit]
[-] class.schedule.php
[edit]
[-] class.search.php
[edit]
[-] class.sequence.php
[edit]
[-] class.session.php
[edit]
[-] class.setup.php
[edit]
[-] class.signal.php
[edit]
[-] class.sla.php
[edit]
[-] class.staff.php
[edit]
[-] class.task.php
[edit]
[-] class.team.php
[edit]
[-] class.template.php
[edit]
[-] class.thread.php
[edit]
[-] class.thread_actions.php
[edit]
[-] class.ticket.php
[edit]
[-] class.timezone.php
[edit]
[-] class.topic.php
[edit]
[-] class.translation.php
[edit]
[-] class.upgrader.php
[edit]
[-] class.user.php
[edit]
[-] class.usersession.php
[edit]
[-] class.util.php
[edit]
[-] class.validator.php
[edit]
[-] class.variable.php
[edit]
[-] class.xml.php
[edit]
[-] class.yaml.php
[edit]
[+]
cli
[+]
client
[+]
config
[+]
fpdf
[-] html2text.php
[edit]
[-] htmLawed.php
[edit]
[+]
i18n
[-] index.php
[edit]
[-] JSON.php
[edit]
[+]
laminas-mail
[+]
mpdf
[-] mysqli.php
[edit]
[-] ost-sampleconfig.php
[edit]
[-] PasswordHash.php
[edit]
[+]
pear
[+]
plugins
[-] Spyc.php
[edit]
[+]
staff
[-] tnef_decoder.php
[edit]
[-] UniversalClassLoader.php
[edit]
[+]
upgrader
[-] ost-config.php
[edit]
[-] .htaccess.disabled
[edit]