Server IP : 149.255.58.128 / Your IP : 216.73.216.126
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /var/softaculous/elgg//settings.php
<?php
/**
* Defines database credentials.
*
* Most of Elgg's configuration is stored in the database. This file contains the
* credentials to connect to the database, as well as a few optional configuration
* values.
*
* The Elgg installation attempts to populate this file with the correct settings
* and then rename it to settings.php.
*
* @todo Turn this into something we handle more automatically.
* @package Elgg.Core
* @subpackage Configuration
*/
global $CONFIG;
if (!isset($CONFIG)) {
$CONFIG = new \stdClass;
}
/*
* Standard configuration
*
* You will use the same database connection for reads and writes.
* This is the easiest configuration, and will suit 99.99% of setups. However, if you're
* running a really popular site, you'll probably want to spread out your database connections
* and implement database replication. That's beyond the scope of this configuration file
* to explain, but if you know you need it, skip past this section.
*/
/**
* The database username
*
* @global string $CONFIG->dbuser
*/
$CONFIG->dbuser = '[[softdbuser]]';
/**
* The database password
*
* @global string $CONFIG->dbpass
*/
$CONFIG->dbpass = '[[softdbpass]]';
/**
* The database name
*
* @global string $CONFIG->dbname
*/
$CONFIG->dbname = '[[softdb]]';
/**
* The database host.
*
* For most installations, this is 'localhost'
*
* @global string $CONFIG->dbhost
*/
$CONFIG->dbhost = '[[softdbhost]]';
/**
* The database prefix
*
* This prefix will be appended to all Elgg tables. If you're sharing
* a database with other applications, use a database prefix to namespace tables
* in order to avoid table name collisions.
*
* @global string $CONFIG->dbprefix
*/
$CONFIG->dbprefix = '[[dbprefix]]';
/**
* Multiple database connections
*
* Elgg supports master/slave MySQL configurations. The master should be set as
* the 'write' connection and the slave(s) as the 'read' connection(s).
*
* To use, uncomment the below configuration and update for your site.
*/
//$CONFIG->db['split'] = true;
//$CONFIG->db['write']['dbuser'] = "";
//$CONFIG->db['write']['dbpass'] = "";
//$CONFIG->db['write']['dbname'] = "";
//$CONFIG->db['write']['dbhost'] = "";
//$CONFIG->db['read'][0]['dbuser'] = "";
//$CONFIG->db['read'][0]['dbpass'] = "";
//$CONFIG->db['read'][0]['dbname'] = "";
//$CONFIG->db['read'][0]['dbhost'] = "";
//$CONFIG->db['read'][1]['dbuser'] = "";
//$CONFIG->db['read'][1]['dbpass'] = "";
//$CONFIG->db['read'][1]['dbname'] = "";
//$CONFIG->db['read'][1]['dbhost'] = "";
/**
* Memcache setup (optional)
* This is where you may optionally set up memcache.
*
* Requirements:
* 1) One or more memcache servers (http://www.danga.com/memcached/)
* 2) PHP memcache wrapper (http://php.net/manual/en/memcache.setup.php)
*
* Note: Multiple server support is only available on server 1.2.1
* or higher with PECL library > 2.0.0
*/
//$CONFIG->memcache = true;
//
//$CONFIG->memcache_servers = array (
// array('server1', 11211),
// array('server2', 11211)
//);
/**
* Better caching performance
*
* Configuring the location of your data directory and enabling simplecache in
* the settings.php file improves caching performance. It allows Elgg to skip
* connecting to the database when serving cached JavaScript and CSS files. If
* you uncomment and configure these settings, you will not be able to change
* them from the Elgg advanced settings page.
*/
//$CONFIG->dataroot = "";
//$CONFIG->simplecache_enabled = true;
/**
* Cookie configuration
*
* Elgg uses 2 cookies: a PHP session cookie and an extended login cookie
* (also called the remember me cookie). See the PHP manual for documentation on
* each of these parameters. Possible options:
*
* - Set the session name to share the session across applications.
* - Set the path because Elgg is not installed in the root of the web directory.
* - Set the secure option to true if you only serve the site over HTTPS.
* - Set the expire option on the remember me cookie to change its lifetime
*
* To use, uncomment the appropriate sections below and update for your site.
*
* @global array $CONFIG->cookies
*/
// get the default parameters from php.ini
//$CONFIG->cookies['session'] = session_get_cookie_params();
//$CONFIG->cookies['session']['name'] = "Elgg";
// optionally overwrite the defaults from php.ini below
//$CONFIG->cookies['session']['path'] = "/";
//$CONFIG->cookies['session']['domain'] = "";
//$CONFIG->cookies['session']['secure'] = false;
//$CONFIG->cookies['session']['httponly'] = false;
// extended session cookie
//$CONFIG->cookies['remember_me'] = session_get_cookie_params();
//$CONFIG->cookies['remember_me']['name'] = "elggperm";
//$CONFIG->cookies['remember_me']['expire'] = strtotime("+30 days");
// optionally overwrite the defaults from php.ini below
//$CONFIG->cookies['remember_me']['path'] = "/";
//$CONFIG->cookies['remember_me']['domain'] = "";
//$CONFIG->cookies['remember_me']['secure'] = false;
//$CONFIG->cookies['remember_me']['httponly'] = false;
/**
* Use non-standard headers for broken MTAs.
*
* The default header EOL for headers is \r\n. This causes problems
* on some broken MTAs. Setting this to true will cause Elgg to use
* \n, which will fix some problems sending email on broken MTAs.
*
* @global bool $CONFIG->broken_mta
*/
$CONFIG->broken_mta = false;
/**
* Disable the database query cache
*
* Elgg stores each query and its results in a query cache.
* On large sites or long-running scripts, this cache can grow to be
* large. To disable query caching, set this to true.
*
* @global bool $CONFIG->db_disable_query_cache
*/
$CONFIG->db_disable_query_cache = false;
/**
* Minimum password length
*
* This value is used when validating a user's password during registration.
*
* @global int $CONFIG->min_password_length
*/
$CONFIG->min_password_length = 6;
/**
* This is an optional script used to override Elgg's default handling of
* uncaught exceptions.
*
* This should be an absolute file path to a php script that will be called
* any time an uncaught exception is thrown.
*
* The script will have access to the following variables as part of the scope
* global $CONFIG
* $exception - the unhandled exception
*
* @warning - the database may not be available
*
* @global string $CONFIG->exception_include
*/
$CONFIG->exception_include = '';
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | March 27 2025 10:37:31 | 0 / root | 0755 | |
php53 | -- | March 27 2025 10:37:31 | 0 / root | 0755 | |
php56 | -- | March 27 2025 10:37:31 | 0 / root | 0755 | |
php71 | -- | March 27 2025 10:37:31 | 0 / root | 0755 | |
php81 | -- | March 27 2025 10:37:31 | 0 / root | 0755 | |
php82 | -- | March 27 2025 10:37:31 | 0 / root | 0755 | |
| | | | | |
.htaccess | 4.82 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
changelog.txt | 1.505 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
clone.php | 3.521 KB | March 26 2025 06:46:40 | 0 / root | 0644 | |
edit.php | 5.219 KB | March 26 2025 06:46:40 | 0 / root | 0644 | |
edit.xml | 0.423 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
fileindex.php | 0.366 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
import.php | 4.906 KB | March 26 2025 06:46:40 | 0 / root | 0644 | |
info.xml | 2.261 KB | March 26 2025 06:40:24 | 0 / root | 0644 | |
install.js | 0.899 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 12.228 KB | March 26 2025 06:46:40 | 0 / root | 0644 | |
install.xml | 1.32 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
md5 | 1.199 KB | March 26 2025 06:46:40 | 0 / root | 0644 | |
notes.txt | 0.513 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
settings.php | 6.264 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
update_pass.php | 5.38 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
upgrade.php | 5.144 KB | March 26 2025 06:46:40 | 0 / root | 0644 | |
upgrade.xml | 0.298 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |