1<?php 2/** 3 * @package Joomla.Installation 4 * 5 * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. 6 * @license GNU General Public License version 2 or later; see LICENSE.txt 7 * 8 * ------------------------------------------------------------------------- 9 * THIS SHOULD ONLY BE USED AS A LAST RESORT WHEN THE WEB INSTALLER FAILS 10 * 11 * If you are installing Joomla! manually ie not using the web browser installer 12 * then rename this file to configuration.php eg 13 * 14 * UNIX -> mv configuration.php-dist configuration.php 15 * Windows -> rename configuration.php-dist configuration.php 16 * 17 * Now edit this file and configure the parameters for your site and 18 * database. 19 * 20 * Finally move this file to the root folder of your Joomla installation eg 21 * 22 * UNIX -> mv configuration.php ../ 23 * Windows -> copy configuration.php ../ 24 * 25 */ 26class JConfig 27{ 28 /* Site Settings */ 29 public $offline = '0'; 30 public $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.'; 31 public $display_offline_message = '1'; 32 public $offline_image = ''; 33 public $sitename = 'Joomla!'; // Name of Joomla site 34 public $editor = 'tinymce'; 35 public $captcha = '0'; 36 public $list_limit = '20'; 37 public $access = '1'; 38 public $frontediting = '1'; 39 40 /* Database Settings */ 41 public $dbtype = 'mysqli'; // Normally mysqli 42 public $host = 'localhost'; // This is normally set to localhost 43 public $user = ''; // DB username 44 public $password = ''; // DB password 45 public $db = ''; // DB database name 46 public $dbprefix = 'jos_'; // Do not change unless you need to! 47 48 /* Server Settings */ 49 public $secret = 'FBVtggIk5lAzEU9H'; // Change this to something more secure 50 public $gzip = '0'; 51 public $error_reporting = 'default'; 52 public $helpurl = 'https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}'; 53 public $ftp_host = ''; 54 public $ftp_port = ''; 55 public $ftp_user = ''; 56 public $ftp_pass = ''; 57 public $ftp_root = ''; 58 public $ftp_enable = '0'; 59 public $tmp_path = '/tmp'; // This path needs to be writable by Joomla! 60 public $log_path = '/administrator/logs'; // This path needs to be writable by Joomla! 61 public $live_site = ''; // Optional, full URL to Joomla install. 62 public $force_ssl = 0; // Force areas of the site to be SSL ONLY. 0 = None, 1 = Administrator, 2 = Both Site and Administrator 63 64 /* Locale Settings */ 65 public $offset = 'UTC'; 66 67 /* Session settings */ 68 public $lifetime = '15'; // Session time 69 public $session_handler = 'database'; 70 public $shared_session = '0'; 71 public $session_memcache_server_host = 'localhost'; 72 public $session_memcache_server_port = '11211'; 73 public $session_memcached_server_host = 'localhost'; 74 public $session_memcached_server_port = '11211'; 75 public $session_redis_server_host = 'localhost'; 76 public $session_redis_server_port = '6379'; 77 public $session_redis_server_db = '0'; 78 79 80 /* Mail Settings */ 81 public $mailonline = '1'; 82 public $mailer = 'mail'; 83 public $mailfrom = ''; 84 public $fromname = ''; 85 public $massmailoff = '0'; 86 public $replyto = ''; 87 public $replytoname = ''; 88 public $sendmail = '/usr/sbin/sendmail'; 89 public $smtpauth = '0'; 90 public $smtpuser = ''; 91 public $smtppass = ''; 92 public $smtphost = 'localhost'; 93 public $smtpsecure = 'none'; 94 public $smtpport = '25'; 95 96 /* Cache Settings */ 97 public $caching = '0'; 98 public $cachetime = '15'; 99 public $cache_handler = 'file'; 100 public $cache_platformprefix = '0'; 101 public $memcache_persist = '1'; 102 public $memcache_compress = '0'; 103 public $memcache_server_host = 'localhost'; 104 public $memcache_server_port = '11211'; 105 public $memcached_persist = '1'; 106 public $memcached_compress = '0'; 107 public $memcached_server_host = 'localhost'; 108 public $memcached_server_port = '11211'; 109 public $redis_persist = '1'; 110 public $redis_server_host = 'localhost'; 111 public $redis_server_port = '6379'; 112 public $redis_server_auth = ''; 113 public $redis_server_db = '0'; 114 115 /* Proxy Settings */ 116 public $proxy_enable = '0'; 117 public $proxy_host = ''; 118 public $proxy_port = ''; 119 public $proxy_user = ''; 120 public $proxy_pass = ''; 121 122 /* Debug Settings */ 123 public $debug = '0'; 124 public $debug_lang = '0'; 125 public $debug_lang_const = '1'; 126 127 /* Meta Settings */ 128 public $MetaDesc = 'Joomla! - the dynamic portal engine and content management system'; 129 public $MetaKeys = 'joomla, Joomla'; 130 public $MetaTitle = '1'; 131 public $MetaAuthor = '1'; 132 public $MetaVersion = '0'; 133 public $MetaRights = ''; 134 public $robots = ''; 135 public $sitename_pagetitles = '0'; 136 137 /* SEO Settings */ 138 public $sef = '1'; 139 public $sef_rewrite = '0'; 140 public $sef_suffix = '0'; 141 public $unicodeslugs = '0'; 142 143 /* Feed Settings */ 144 public $feed_limit = 10; 145 public $feed_email = 'none'; 146 147 /* Cookie Settings */ 148 public $cookie_domain = ''; 149 public $cookie_path = ''; 150 151 /* Miscellaneous Settings */ 152 public $asset_id = '1'; 153} 154