96 lines
3.4 KiB
Plaintext
96 lines
3.4 KiB
Plaintext
|
<?php
|
||
|
/**
|
||
|
* @package Octoleo CMS
|
||
|
*
|
||
|
* @created 9th April 2022
|
||
|
* @author Llewellyn van der Merwe <https://git.vdm.dev/Llewellyn>
|
||
|
* @git WEBD-325-45 <https://git.vdm.dev/Llewellyn/WEBD-325-45>
|
||
|
* @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 Octoleo! manually ie not using the web browser installer
|
||
|
* then rename this file to octoconfig.php eg
|
||
|
*
|
||
|
* UNIX -> mv octoconfig.php.example octoconfig.php
|
||
|
* Windows -> rename octoconfig.php.example octoconfig.php
|
||
|
*
|
||
|
* Now edit this file and configure the parameters for your site and
|
||
|
* database.
|
||
|
*
|
||
|
* Finally move this file to the root folder of your Octoleo installation eg
|
||
|
*
|
||
|
* UNIX -> mv octoconfig.php ../
|
||
|
* Windows -> copy octoconfig.php ../
|
||
|
*
|
||
|
* SOURCE: https://github.com/joomla/joomla-cms/blob/4.1-dev/installation/configuration.php-dist
|
||
|
*
|
||
|
*/
|
||
|
class LConfig
|
||
|
{
|
||
|
public $sitename = 'Octoleo!'; // Name of Octoleo site
|
||
|
|
||
|
/* Database Settings */
|
||
|
public $dbtype = 'mysqli'; // Normally mysqli
|
||
|
public $host = 'localhost'; // This is normally set to localhost
|
||
|
public $user = ''; // Database username
|
||
|
public $password = ''; // Database password
|
||
|
public $db = ''; // Database name
|
||
|
public $dbprefix = 'llewellyn_'; // LEAVE THIS UNCHANGED FOR NOW
|
||
|
public $dbencryption = 0;
|
||
|
public $dbsslverifyservercert = false;
|
||
|
public $dbsslkey = '';
|
||
|
public $dbsslcert = '';
|
||
|
public $dbsslca = '';
|
||
|
public $dbsslcipher = '';
|
||
|
|
||
|
/* Server Settings */
|
||
|
public $secret = 'EiT9pmiqMycmQ6xx'; // 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`
|
||
|
public $helpurl = 'https://help.octoleo.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}';
|
||
|
public $tmp_path = '/tmp'; // This path needs to be writable by Octoleo!
|
||
|
|
||
|
/* Locale Settings */
|
||
|
public $offset = 'UTC';
|
||
|
|
||
|
/* Session settings */
|
||
|
public $lifetime = 15; // Session time
|
||
|
public $session_handler = 'database';
|
||
|
public $session_filesystem_path = '';
|
||
|
public $session_memcached_server_host = 'localhost';
|
||
|
public $session_memcached_server_port = 11211;
|
||
|
public $session_metadata = true;
|
||
|
public $session_redis_persist = 1;
|
||
|
public $session_redis_server_auth = '';
|
||
|
public $session_redis_server_db = 0;
|
||
|
public $session_redis_server_host = 'localhost';
|
||
|
public $session_redis_server_port = 6379;
|
||
|
|
||
|
/* 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;
|
||
|
|
||
|
/* Meta Settings */
|
||
|
public $MetaDesc = 'Octoleo! - the dynamic portal engine and content management system';
|
||
|
public $MetaAuthor = true;
|
||
|
public $MetaVersion = false;
|
||
|
public $MetaRights = '';
|
||
|
public $robots = '';
|
||
|
public $sitename_pagetitles = 0;
|
||
|
|
||
|
/* Cookie Settings */
|
||
|
public $cookie_domain = '';
|
||
|
public $cookie_path = '';
|
||
|
}
|