1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/joomla_ynh.git synced 2024-09-03 19:26:34 +02:00
joomla_ynh/conf/configuration.php

146 lines
4.7 KiB
PHP
Raw Normal View History

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
2023-10-30 10:09:06 +01:00
public $user = '__DB_USER__'; // Database username
public $password = '__DB_PWD__'; // Database password
public $db = '__DB_NAME__'; // Database name
2023-10-30 09:43:36 +01:00
public $dbprefix = 'jos_'; // 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 */
Testing (#11) * php 8.0 * dbprefix not empty * php fix * Update install * Update _common.sh * Update manifest.json * database prefix must not be empty dbprefix = ''; // Any random string ending with _ * Update install * Update install sill getting The MySQLi extension is not available * Update install * Phpversion + php dependencies * Update php-fpm.conf upload_max_filesize post_max_size Temp folder * Update _common.sh Php8 + deps * Update manifest.json Remove php choice * Update install YNH_PHP_VERSION * Update install * Update configuration.php * Update install Setting dbprefix to ynh_ Should be random string * Update configuration.php Setting dbprefix to ynh * Adding an upgrade test * Upgrade version * not needed * Cleanup * Updating php dependencies * Cleanup * add /var/log * Update dependencies * adding db_prefix * missing db_prefix during upgrade * Adding secret * better way to create the first account * adding steps to fix dbprefix update * Dbprefix * Delete fix1.jpg * Delete fix2.jpg * Delete fix3.jpg * Delete fix4.jpg * Delete fix5.jpg * Delete dbprefix * Create dbpresfix * Add files via upload * Add files via upload * Update DISCLAIMER.md dbprefix update howto fix * Adding screenshot * Update _common.sh xml * Update DISCLAIMER.md !testme * Auto-update README * Fix docdbprefix screenshots * Auto-update README * more fixing * Auto-update README * typo * Auto-update README Co-authored-by: jarod5001 <68397534+jarod5001@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org>
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!
2023-10-30 10:09:06 +01:00
public $log_path = '/var/log/__APP__'; // This path needs to be writable by Joomla!
2022-01-22 20:55:44 +01:00
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;
}