PATH:
home
/
sudairsocs
/
www
/
forum
<?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 ########## # Note: If $maintenance is set to 2, the forum will be unusable! Change it to 0 to fix it. ########## 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; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!) /** * Title for the Maintenance Mode message. * * @var string * @global int $mtitle */ $mtitle = 'Maintenance Mode'; # Title for the Maintenance Mode message. /** * Description of why the forum is in maintenance mode. * * @var string * @global string $mmessage */ $mmessage = 'En maintenance'; # Description of why the forum is in maintenance mode. ########## Forum Info ########## ########## Forum Info ########## /** * The name of your forum. * * @var string */ $mbname = 'Sud Airsoft'; # The name of your forum. /** * The default language file set for the forum. * * @var string */ $language = 'french'; # The default language file set for the forum. /** * URL to your forum's folder. (without the trailing /!) * * @var string */ $boardurl = 'http://www.sud-airsoft.com/forum'; # URL to your forum's folder. (without the trailing /!) /** * Email address to send emails from. (like noreply@yourdomain.com.) * * @var string */ $webmaster_email = 'sevin.fabien@gmail.com'; # Email address to send emails from. (like noreply@yourdomain.com.) /** * Name of the cookie to set for authentication. * * @var string */ $cookiename = 'SMFCookie814'; # Name of the cookie to set for authentication. ########## Database Info ########## /** * 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 = '52247ced7833d5e3e65578b1ff8ccc64d4423bd7987a9b1ee2f262d71aeb2924'; ########## 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 = 'sudairsocsforum.mysql.db'; /** * The database name * * @var string */ $db_name = 'sudairsocsforum'; /** * Database username * * @var string */ $db_user = 'sudairsocsforum'; /** * Database password * * @var string */ $db_passwd = 'Sas84000'; /** * 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 = 'smfnew_'; /** * Use a persistent database connection * * @var bool */ $db_persist = false; /** * Send emails on database connection error * * @var bool */ $db_error_send = true; ########## Directories/Files ########## # Note: These directories do not have to be changed unless you move things. /** * 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_accelerator = 'FileBase'; /** * The level at which you would like to cache. Between 0 (off) through 3 (cache a lot). * * @var int */ $cache_enable = 1; /** * 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 = '/home/sudairsocs/www/forum/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 = '4bf658b307a557a42aa2'; /** * Maximum file size (in KB) for individual files * * @var int */ $image_proxy_maxsize = 5190; ########## 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 = '/home/sudairsocs/www/forum'; # The absolute path to the forum's folder. (not just '.'!) /** * Path to the Sources directory. * * @var string */ $sourcedir = '/home/sudairsocs/www/forum/Sources'; # Path to the Sources directory. /** * Path to the Packages directory. * * @var string */ $packagesdir = '/home/sudairsocs/www/forum/Packages'; /** * Path to the tasks directory. * * @var string */ $tasksdir = '/home/sudairsocs/www/forum/Sources/tasks'; ######### Legacy Settings ######### # UTF-8 is now the only character set supported in 2.1. $db_character_set = 'utf8'; # Path to the cache directory. $cachedir_sqlite = '/home/sudairsocs/www/forum/cache'; # 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'; ########## 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; } ?>
[+]
..
[+]
avatars
[+]
Sources
[-] SSI.php~
[edit]
[-] index.php~
[edit]
[+]
cache
[-] agreement.french-utf8.txt
[edit]
[+]
Themes
[-] agreement.txt
[edit]
[-] SSI.php
[edit]
[-] ssi_examples.php
[edit]
[-] index.php
[edit]
[-] cron.php
[edit]
[+]
attachments
[+]
Smileys
[-] readme.html
[edit]
[+]
custom_avatar
[+]
Packages
[-] subscriptions.php
[edit]
[-] proxy.php~
[edit]
[-] proxy.php
[edit]
[-] agreement.french.txt
[edit]
[-] LICENSE
[edit]
[-] Settings.php
[edit]
[-] news_readme.html
[edit]
[-] license.txt
[edit]
[-] ssi_examples.shtml
[edit]
[-] Settings_bak.php
[edit]
[+]
exports