2022-01-22 20:55:44 +01:00
< ? php
/**
* @ package Joomla . Installation
*
* @ copyright ( C ) 2005 Open Source Matters , Inc . < https :// www . joomla . org >
* @ license GNU General Public License version 2 or later ; see LICENSE . txt
*
* -------------------------------------------------------------------------
* THIS SHOULD ONLY BE USED AS A LAST RESORT WHEN THE WEB INSTALLER FAILS
*
* If you are installing Joomla ! manually ie not using the web browser installer
* then rename this file to configuration . php eg
*
* 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 .
*
* Finally move this file to the root folder of your Joomla installation eg
*
* UNIX -> mv configuration . php ../
* Windows -> copy configuration . php ../
*
*/
class JConfig
{
/* Site Settings */
public $offline = false ;
public $offline_message = 'This site is down for maintenance.<br> Please check back again soon.' ;
public $display_offline_message = 1 ;
public $offline_image = '' ;
public $sitename = 'Joomla!' ; // Name of Joomla site
public $editor = 'tinymce' ;
public $captcha = 0 ;
public $list_limit = 20 ;
public $access = 1 ;
public $frontediting = 1 ;
/* Database Settings */
public $dbtype = 'mysqli' ; // Normally mysqli
public $host = 'localhost' ; // This is normally set to localhost
public $user = '__DB_USER__' ; // Database username
public $password = '__DB_PWD__' ; // Database password
public $db = '__DB_NAME__' ; // Database name
2022-03-23 08:21:02 +01:00
public $dbprefix = '__DB_PREFIX__' ; // Any random string ending with _
2022-01-22 20:55:44 +01:00
public $dbencryption = 0 ;
public $dbsslverifyservercert = false ;
public $dbsslkey = '' ;
public $dbsslcert = '' ;
public $dbsslca = '' ;
public $dbsslcipher = '' ;
/* Server Settings */
2022-03-23 08:21:02 +01:00
public $secret = '__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`
2022-01-22 20:55:44 +01:00
public $gzip = false ;
public $error_reporting = 'default' ;
public $helpurl = 'https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}' ;
public $tmp_path = '/tmp' ; // This path needs to be writable by Joomla!
public $log_path = '/var/log/__APP__' ; // This path needs to be writable by Joomla!
public $live_site = '' ; // Optional, full URL to Joomla install.
public $force_ssl = 0 ; // Force areas of the site to be SSL ONLY. 0 = None, 1 = Administrator, 2 = Both Site and Administrator
/* Locale Settings */
public $offset = 'UTC' ;
/* Session settings */
public $lifetime = 15 ; // Session time
public $session_handler = 'database' ;
public $shared_session = false ;
public $session_memcached_server_host = 'localhost' ;
public $session_memcached_server_port = 11211 ;
public $session_redis_server_host = 'localhost' ;
public $session_redis_server_port = 6379 ;
public $session_redis_server_db = 0 ;
/* Mail Settings */
public $mailonline = true ;
public $mailer = 'mail' ;
public $mailfrom = '' ;
public $fromname = '' ;
public $massmailoff = false ;
public $replyto = '' ;
public $replytoname = '' ;
public $sendmail = '/usr/sbin/sendmail' ;
public $smtpauth = false ;
public $smtpuser = '' ;
public $smtppass = '' ;
public $smtphost = 'localhost' ;
public $smtpsecure = 'none' ;
public $smtpport = 25 ;
/* Cache Settings */
public $caching = 0 ;
public $cachetime = 15 ;
public $cache_handler = 'file' ;
public $cache_platformprefix = false ;
public $memcached_persist = true ;
public $memcached_compress = false ;
public $memcached_server_host = 'localhost' ;
public $memcached_server_port = 11211 ;
public $redis_persist = true ;
public $redis_server_host = 'localhost' ;
public $redis_server_port = 6379 ;
public $redis_server_auth = '' ;
public $redis_server_db = 0 ;
/* Proxy Settings */
public $proxy_enable = false ;
public $proxy_host = '' ;
public $proxy_port = '' ;
public $proxy_user = '' ;
public $proxy_pass = '' ;
/* Debug Settings */
public $debug = true ;
public $debug_lang = false ;
public $debug_lang_const = true ;
/* Meta Settings */
public $MetaDesc = 'Joomla! - the dynamic portal engine and content management system' ;
public $MetaAuthor = true ;
public $MetaVersion = false ;
public $MetaRights = '' ;
public $robots = '' ;
public $sitename_pagetitles = 0 ;
/* SEO Settings */
public $sef = true ;
public $sef_rewrite = false ;
public $sef_suffix = false ;
public $unicodeslugs = false ;
/* Feed Settings */
public $feed_limit = 10 ;
public $feed_email = 'none' ;
/* Cookie Settings */
public $cookie_domain = '' ;
public $cookie_path = '' ;
/* Miscellaneous Settings */
public $asset_id = 1 ;
}