Server IP : 149.255.58.128 / Your IP : 216.73.216.206
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/smf//Settings.php
<?php
/**
* The settings file contains all of the basic settings that need to be present when a database/cache is not available.
*
* Simple Machines Forum (SMF)
*
* @package SMF
* @author Simple Machines https://www.simplemachines.org
* @copyright 2023 Simple Machines and individual contributors
* @license https://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.1.4
*/
########## Maintenance ##########
/**
* The maintenance "mode"
* Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
* 0 is default and disables maintenance mode.
*
* @var int 0, 1, 2
* @global int $maintenance
*/
$maintenance = 0;
/**
* Title for the Maintenance Mode message.
*
* @var string
* @global int $mtitle
*/
$mtitle = 'Maintenance Mode';
/**
* Description of why the forum is in maintenance mode.
*
* @var string
* @global string $mmessage
*/
$mmessage = 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!';
########## Forum Info ##########
/**
* The name of your forum.
*
* @var string
*/
$mbname = '[[site_name]]';
/**
* The default language file set for the forum.
*
* @var string
*/
$language = '[[language]]';
/**
* URL to your forum's folder. (without the trailing /!)
*
* @var string
*/
$boardurl = '[[softurl]]';
/**
* Email address to send emails from. (like noreply@yourdomain.com.)
*
* @var string
*/
$webmaster_email = '[[board_email]]';
/**
* Name of the cookie to set for authentication.
*
* @var string
*/
$cookiename = '[[cookie_name]]';
/**
* Secret key used to create and verify cookies, tokens, etc.
* Do not change this unless absolutely necessary, and NEVER share it.
*
* Note: Changing this will immediately log out all members of your forum
* and break the token-based links in all previous email notifications,
* among other possible effects.
*
* @var string
*/
$auth_secret = '[[auth_secret]]';
########## Database Info ##########
/**
* The database type
* Default options: mysql, postgresql
*
* @var string
*/
$db_type = 'mysql';
/**
* The database port
* 0 to use default port for the database type
*
* @var int
*/
$db_port = 0;
/**
* The server to connect to (or a Unix socket)
*
* @var string
*/
$db_server = '[[softdbhost]]';
/**
* The database name
*
* @var string
*/
$db_name = '[[softdb]]';
/**
* Database username
*
* @var string
*/
$db_user = '[[softdbuser]]';
/**
* Database password
*
* @var string
*/
$db_passwd = '[[softdbpass]]';
/**
* Database user for when connecting with SSI
*
* @var string
*/
$ssi_db_user = '';
/**
* Database password for when connecting with SSI
*
* @var string
*/
$ssi_db_passwd = '';
/**
* A prefix to put in front of your table names.
* This helps to prevent conflicts
*
* @var string
*/
$db_prefix = '[[dbprefix]]';
/**
* Use a persistent database connection
*
* @var bool
*/
$db_persist = false;
/**
* Send emails on database connection error
*
* @var bool
*/
$db_error_send = false;
/**
* Override the default behavior of the database layer for mb4 handling
* null keep the default behavior untouched
*
* @var null|bool
*/
$db_mb4 = null;
########## Cache Info ##########
/**
* Select a cache system. You want to leave this up to the cache area of the admin panel for
* proper detection of memcached, output_cache or SMF file_system
* (you can add more with a mod).
*
* @var string
*/
########## Cache Info ##########
/**
* Select a cache system. You want to leave this up to the cache area of the admin panel for
* proper detection of memcached, output_cache, or smf file system
* (you can add more with a mod).
*
* @var string
*/
$cache_accelerator = '';
/**
* The level at which you would like to cache. Between 0 (off) through 3 (cache a lot).
*
* @var int
*/
$cache_enable = 0;
/**
* This is only used for memcache / memcached. Should be a string of 'server:port,server:port'
*
* @var array
*/
$cache_memcached = '';
/**
* This is only for the 'smf' file cache system. It is the path to the cache directory.
* It is also recommended that you place this in /tmp/ if you are going to use this.
*
* @var string
*/
$cachedir = '[[softpath]]/cache';
########## Image Proxy ##########
# This is done entirely in Settings.php to avoid loading the DB while serving the images
/**
* Whether the proxy is enabled or not
*
* @var bool
*/
$image_proxy_enabled = false;
/**
* Secret key to be used by the proxy
*
* @var string
*/
$image_proxy_secret = '[[image_proxy_secret]]';
/**
* Maximum file size (in KB) for individual files
*
* @var int
*/
$image_proxy_maxsize = 5192;
########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
/**
* The absolute path to the forum's folder. (not just '.'!)
*
* @var string
*/
$boarddir = '[[softpath]]';
/**
* Path to the Sources directory.
*
* @var string
*/
$sourcedir = '[[softpath]]/Sources';
/**
* Path to the Packages directory.
*
* @var string
*/
$packagesdir = '[[softpath]]/Packages';
/**
* Path to the tasks directory.
*
* @var string
*/
$tasksdir = '[[softpath]]/Sources/tasks';
# Make sure the paths are correct... at least try to fix them.
if (!is_dir(realpath($boarddir)) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir = dirname(__FILE__);
if (!is_dir(realpath($sourcedir)) && is_dir($boarddir . '/Sources'))
$sourcedir = $boarddir . '/Sources';
if (!is_dir(realpath($tasksdir)) && is_dir($sourcedir . '/tasks'))
$tasksdir = $sourcedir . '/tasks';
if (!is_dir(realpath($packagesdir)) && is_dir($boarddir . '/Packages'))
$packagesdir = $boarddir . '/Packages';
if (!is_dir(realpath($cachedir)) && is_dir($boarddir . '/cache'))
$cachedir = $boarddir . '/cache';
######### Legacy Settings #########
# UTF-8 is now the only character set supported in 2.1.
$db_character_set = 'utf8';
########## Error-Catching ##########
# Note: You shouldn't touch these settings.
if (file_exists((isset($cachedir) ? $cachedir : dirname(__FILE__)) . '/db_last_error.php'))
include((isset($cachedir) ? $cachedir : dirname(__FILE__)) . '/db_last_error.php');
if (!isset($db_last_error))
{
// File does not exist so lets try to create it
file_put_contents((isset($cachedir) ? $cachedir : dirname(__FILE__)) . '/db_last_error.php', '<' . '?' . "php\n" . '$db_last_error = 0;' . "\n" . '?' . '>');
$db_last_error = 0;
}
?>
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | May 08 2024 08:03:39 | 0 / root | 0755 | |
languages | -- | May 08 2024 08:03:39 | 0 / root | 0755 | |
php53 | -- | May 08 2024 08:03:39 | 0 / root | 0755 | |
php56 | -- | May 08 2024 08:03:39 | 0 / root | 0755 | |
php71 | -- | May 08 2024 08:03:39 | 0 / root | 0755 | |
php81 | -- | May 08 2024 08:03:39 | 0 / root | 0755 | |
php82 | -- | May 08 2024 08:03:39 | 0 / root | 0755 | |
| | | | | |
Settings.php | 6.352 KB | June 12 2023 03:41:20 | 0 / root | 0644 | |
clone.php | 8.346 KB | May 02 2024 07:37:46 | 0 / root | 0644 | |
edit.php | 4.725 KB | May 02 2024 07:37:46 | 0 / root | 0644 | |
edit.xml | 0.423 KB | March 10 2022 05:42:00 | 0 / root | 0644 | |
extend.php | 38.384 KB | May 02 2024 07:37:46 | 0 / root | 0644 | |
fileindex.php | 0.438 KB | February 24 2022 01:31:08 | 0 / root | 0644 | |
import.php | 3.727 KB | May 02 2024 07:37:46 | 0 / root | 0644 | |
info.xml | 3.381 KB | May 02 2024 05:25:50 | 0 / root | 0644 | |
install.js | 1.074 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 7.716 KB | May 02 2024 07:37:46 | 0 / root | 0644 | |
install.xml | 3.844 KB | June 12 2023 03:41:20 | 0 / root | 0644 | |
md5 | 4.313 KB | May 02 2024 07:37:46 | 0 / root | 0644 | |
notes.txt | 0.771 KB | November 22 2022 05:05:30 | 0 / root | 0644 | |
update_pass.php | 49.655 KB | February 24 2022 01:31:08 | 0 / root | 0644 | |
upgrade.php | 5.567 KB | May 02 2024 07:37:46 | 0 / root | 0644 | |
upgrade.xml | 0.371 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |