[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package Joomla.Installation 4 * 5 * @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org> 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 */ 26 class JConfig 27 { 28 /* Site Settings */ 29 public $offline = false; 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 = ''; // Database username 44 public $password = ''; // Database password 45 public $db = ''; // Database name 46 public $dbprefix = 'jos_'; // Any random string ending with _ 47 public $dbencryption = 0; 48 public $dbsslverifyservercert = false; 49 public $dbsslkey = ''; 50 public $dbsslcert = ''; 51 public $dbsslca = ''; 52 public $dbsslcipher = ''; 53 54 /* Server Settings */ 55 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` 56 public $gzip = false; 57 public $error_reporting = 'default'; 58 public $helpurl = 'https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}'; 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 = false; 71 public $session_filesystem_path = ''; 72 public $session_memcached_server_host = 'localhost'; 73 public $session_memcached_server_port = 11211; 74 public $session_metadata = true; 75 public $session_redis_persist = 1; 76 public $session_redis_server_auth = ''; 77 public $session_redis_server_db = 0; 78 public $session_redis_server_host = 'localhost'; 79 public $session_redis_server_port = 6379; 80 81 /* Mail Settings */ 82 public $mailonline = true; 83 public $mailer = 'mail'; 84 public $mailfrom = ''; 85 public $fromname = ''; 86 public $massmailoff = false; 87 public $replyto = ''; 88 public $replytoname = ''; 89 public $sendmail = '/usr/sbin/sendmail'; 90 public $smtpauth = false; 91 public $smtpuser = ''; 92 public $smtppass = ''; 93 public $smtphost = 'localhost'; 94 public $smtpsecure = 'none'; 95 public $smtpport = 25; 96 97 /* Cache Settings */ 98 public $caching = 0; 99 public $cachetime = 15; 100 public $cache_handler = 'file'; 101 public $cache_platformprefix = false; 102 public $memcached_persist = true; 103 public $memcached_compress = false; 104 public $memcached_server_host = 'localhost'; 105 public $memcached_server_port = 11211; 106 public $redis_persist = true; 107 public $redis_server_host = 'localhost'; 108 public $redis_server_port = 6379; 109 public $redis_server_auth = ''; 110 public $redis_server_db = 0; 111 112 /* Log Settings */ 113 public $log_categories = ''; 114 public $log_category_mode = 0; 115 public $log_deprecated = 0; 116 public $log_everything = 0; 117 public $log_priorities = array('0' => 'all'); 118 119 /* CORS Settings */ 120 public $cors = false; 121 public $cors_allow_headers = 'Content-Type,X-Joomla-Token'; 122 public $cors_allow_methods = ''; 123 public $cors_allow_origin = '*'; 124 125 /* Proxy Settings */ 126 public $proxy_enable = false; 127 public $proxy_host = ''; 128 public $proxy_port = ''; 129 public $proxy_user = ''; 130 public $proxy_pass = ''; 131 132 /* Debug Settings */ 133 public $debug = false; 134 public $debug_lang = false; 135 public $debug_lang_const = true; 136 137 /* Meta Settings */ 138 public $MetaDesc = 'Joomla! - the dynamic portal engine and content management system'; 139 public $MetaAuthor = true; 140 public $MetaVersion = false; 141 public $MetaRights = ''; 142 public $robots = ''; 143 public $sitename_pagetitles = 0; 144 145 /* SEO Settings */ 146 public $sef = true; 147 public $sef_rewrite = false; 148 public $sef_suffix = false; 149 public $unicodeslugs = false; 150 151 /* Feed Settings */ 152 public $feed_limit = 10; 153 public $feed_email = 'none'; 154 155 /* Cookie Settings */ 156 public $cookie_domain = ''; 157 public $cookie_path = ''; 158 159 /* Miscellaneous Settings */ 160 public $asset_id = 1; 161 public $behind_loadbalancer = false; 162 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |