2009-05-27 22:47:11 +00:00
<?php
/**
2016-07-23 08:29:01 +00:00
* @package Joomla.Installation
*
2020-11-28 01:33:45 +00:00
* @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
2016-07-23 08:29:01 +00:00
* @license GNU General Public License version 2 or later; see LICENSE.txt
2009-06-01 03:21:19 +00:00
*
* -------------------------------------------------------------------------
* THIS SHOULD ONLY BE USED AS A LAST RESORT WHEN THE WEB INSTALLER FAILS
*
2017-03-31 16:35:50 +00:00
* If you are installing Joomla! manually ie not using the web browser installer
* then rename this file to configuration.php eg
2009-06-01 03:21:19 +00:00
*
* UNIX -> mv configuration.php-dist configuration.php
* Windows -> rename configuration.php-dist configuration.php
*
* Now edit this file and configure the parameters for your site and
* database.
2017-03-31 16:35:50 +00:00
*
* Finally move this file to the root folder of your Joomla installation eg
*
* UNIX -> mv configuration.php ../
* Windows -> copy configuration.php ../
*
2009-06-01 03:21:19 +00:00
*/
2016-07-23 08:29:01 +00:00
class JConfig
{
2009-05-27 22:47:11 +00:00
/* Site Settings */
2020-01-04 21:35:11 +00:00
public $offline = false;
2017-02-17 15:35:53 +00:00
public $offline_message = 'This site is down for maintenance.<br> Please check back again soon.';
2020-01-04 21:35:11 +00:00
public $display_offline_message = 1;
2011-12-13 20:34:45 +00:00
public $offline_image = '';
2014-10-10 20:55:22 +00:00
public $sitename = 'Joomla!'; // Name of Joomla site
2009-07-04 12:54:44 +00:00
public $editor = 'tinymce';
2020-01-04 21:35:11 +00:00
public $captcha = 0;
public $list_limit = 20;
public $access = 1;
public $frontediting = 1;
2009-05-27 22:47:11 +00:00
/* Database Settings */
2014-10-10 20:55:22 +00:00
public $dbtype = 'mysqli'; // Normally mysqli
public $host = 'localhost'; // This is normally set to localhost
2020-01-04 21:35:11 +00:00
public $user = ''; // Database username
public $password = ''; // Database password
public $db = ''; // Database name
public $dbprefix = 'jos_'; // Any random string ending with _
2019-10-19 22:14:56 +00:00
public $dbencryption = 0;
public $dbsslverifyservercert = false;
public $dbsslkey = '';
public $dbsslcert = '';
public $dbsslca = '';
public $dbsslcipher = '';
2009-05-27 22:47:11 +00:00
/* Server Settings */
2021-09-09 17:15:09 +00:00
public $secret = ''; // Use something very secure. For example on linux the following command `cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w ${1:-16} | head -n 1`
2020-01-04 21:35:11 +00:00
public $gzip = false;
2011-09-29 14:04:30 +00:00
public $error_reporting = 'default';
2017-03-31 10:19:32 +00:00
public $helpurl = 'https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}';
2018-06-03 18:44:36 +00:00
public $tmp_path = '/tmp'; // This path needs to be writable by Joomla!
public $log_path = '/administrator/logs'; // This path needs to be writable by Joomla!
2023-06-02 20:43:09 +00:00
public $live_site = ''; // Optional, full URL to Joomla install eg https://www.example.com
2014-10-10 20:55:22 +00:00
public $force_ssl = 0; // Force areas of the site to be SSL ONLY. 0 = None, 1 = Administrator, 2 = Both Site and Administrator
2009-12-12 15:44:10 +00:00
2009-07-04 12:54:44 +00:00
/* Locale Settings */
2010-05-30 16:28:20 +00:00
public $offset = 'UTC';
2009-12-12 15:44:10 +00:00
2009-05-27 22:47:11 +00:00
/* Session settings */
2020-01-04 21:35:11 +00:00
public $lifetime = 15; // Session time
2009-07-04 12:54:44 +00:00
public $session_handler = 'database';
2020-01-04 21:35:11 +00:00
public $shared_session = false;
2022-04-02 20:30:02 +00:00
public $session_filesystem_path = '';
2017-03-31 10:19:32 +00:00
public $session_memcached_server_host = 'localhost';
2020-01-04 21:35:11 +00:00
public $session_memcached_server_port = 11211;
2022-04-02 20:30:02 +00:00
public $session_metadata = true;
public $session_redis_persist = 1;
public $session_redis_server_auth = '';
public $session_redis_server_db = 0;
2017-11-19 13:11:03 +00:00
public $session_redis_server_host = 'localhost';
2020-01-04 21:35:11 +00:00
public $session_redis_server_port = 6379;
2009-05-27 22:47:11 +00:00
/* Mail Settings */
2022-04-02 20:30:02 +00:00
public $mailonline = true;
2016-10-01 09:13:37 +00:00
public $mailer = 'mail';
public $mailfrom = '';
public $fromname = '';
2020-01-04 21:35:11 +00:00
public $massmailoff = false;
2016-10-01 09:13:37 +00:00
public $replyto = '';
public $replytoname = '';
public $sendmail = '/usr/sbin/sendmail';
2020-01-04 21:35:11 +00:00
public $smtpauth = false;
2016-10-01 09:13:37 +00:00
public $smtpuser = '';
public $smtppass = '';
public $smtphost = 'localhost';
2022-04-02 20:30:02 +00:00
public $smtpsecure = 'none';
public $smtpport = 25;
2009-05-27 22:47:11 +00:00
/* Cache Settings */
2020-01-04 21:35:11 +00:00
public $caching = 0;
public $cachetime = 15;
2009-07-04 12:54:44 +00:00
public $cache_handler = 'file';
2020-01-04 21:35:11 +00:00
public $cache_platformprefix = false;
public $memcached_persist = true;
public $memcached_compress = false;
2017-03-31 10:19:32 +00:00
public $memcached_server_host = 'localhost';
2020-01-04 21:35:11 +00:00
public $memcached_server_port = 11211;
public $redis_persist = true;
2017-03-31 10:19:32 +00:00
public $redis_server_host = 'localhost';
2020-01-04 21:35:11 +00:00
public $redis_server_port = 6379;
2017-03-31 10:19:32 +00:00
public $redis_server_auth = '';
2020-01-04 21:35:11 +00:00
public $redis_server_db = 0;
2017-03-31 10:19:32 +00:00
2022-04-02 20:30:02 +00:00
/* Log Settings */
public $log_categories = '';
public $log_category_mode = 0;
public $log_deprecated = 0;
public $log_everything = 0;
public $log_priorities = array('0' => 'all');
/* CORS Settings */
public $cors = false;
public $cors_allow_headers = 'Content-Type,X-Joomla-Token';
public $cors_allow_methods = '';
public $cors_allow_origin = '*';
2017-03-31 10:19:32 +00:00
/* Proxy Settings */
2020-01-04 21:35:11 +00:00
public $proxy_enable = false;
2017-03-31 10:19:32 +00:00
public $proxy_host = '';
public $proxy_port = '';
public $proxy_user = '';
public $proxy_pass = '';
2009-05-27 22:47:11 +00:00
/* Debug Settings */
2022-04-07 14:53:45 +00:00
public $debug = false;
2020-01-04 21:35:11 +00:00
public $debug_lang = false;
2021-05-31 08:07:54 +00:00
public $debug_lang_const = true;
2009-05-27 22:47:11 +00:00
/* Meta Settings */
2009-07-04 12:54:44 +00:00
public $MetaDesc = 'Joomla! - the dynamic portal engine and content management system';
2020-01-04 21:35:11 +00:00
public $MetaAuthor = true;
public $MetaVersion = false;
2017-03-31 10:19:32 +00:00
public $MetaRights = '';
2012-01-09 18:08:05 +00:00
public $robots = '';
2020-01-04 21:35:11 +00:00
public $sitename_pagetitles = 0;
2009-05-27 22:47:11 +00:00
/* SEO Settings */
2020-01-04 21:35:11 +00:00
public $sef = true;
public $sef_rewrite = false;
public $sef_suffix = false;
public $unicodeslugs = false;
2009-05-27 22:47:11 +00:00
/* Feed Settings */
2009-07-04 12:54:44 +00:00
public $feed_limit = 10;
2015-07-11 14:39:47 +00:00
public $feed_email = 'none';
2017-03-31 10:19:32 +00:00
/* Cookie Settings */
public $cookie_domain = '';
public $cookie_path = '';
/* Miscellaneous Settings */
2020-01-04 21:35:11 +00:00
public $asset_id = 1;
2022-04-02 20:30:02 +00:00
public $behind_loadbalancer = false;
2009-12-28 20:03:58 +00:00
}