-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettings_bak.php
70 lines (62 loc) · 3.63 KB
/
Settings_bak.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
/**********************************************************************************
* Settings.php *
***********************************************************************************
* SMF: Simple Machines Forum *
* Open-Source Project Inspired by Zef Hemel ([email protected]) *
* =============================================================================== *
* Software Version: SMF 1.1 *
* Software by: Simple Machines (http://www.simplemachines.org) *
* Copyright 2006 by: Simple Machines LLC (http://www.simplemachines.org) *
* 2001-2006 by: Lewis Media (http://www.lewismedia.com) *
* Support, News, Updates at: http://www.simplemachines.org *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under *
* the terms of the provided license as published by Simple Machines LLC. *
* *
* This program is distributed in the hope that it is and will be useful, but *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* See the "license.txt" file for details of the Simple Machines license. *
* The latest version can always be found at http://www.simplemachines.org. *
**********************************************************************************/
########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable! Change it to 0 to fix it.
$maintenance = 0; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle = 'mtitle'; # Title for the Maintenance Mode message.
$mmessage = 'mmessage'; # Description of why the forum is in maintenance mode.
########## Forum Info ##########
$mbname = 'mbname'; # The name of your forum.
$language = 'language'; # The default language file set for the forum.
$boardurl = 'boardurl'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email = 'webmaster_email'; # Email address to send emails from. (like [email protected].)
$cookiename = 'cookiename'; # Name of the cookie to set for authentication.
########## Database Info ##########
$db_type = 'db_type';
$db_server = 'db_server';
$db_name = 'db_name';
$db_user = 'db_user';
$db_passwd = 'db_passwd';
$db_prefix = 'db_prefix';
$db_persist = 0;
$db_error_send = 0;
########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = 'boarddir'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = 'sourcedir'; # Path to the Sources directory.
########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 0;
# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir = dirname(__FILE__);
if (!file_exists($sourcedir) && file_exists($boarddir . '/Sources'))
$sourcedir = $boarddir . '/Sources';
$cachedir = 'cachedir';
$image_proxy_secret = 'image_proxy_secret';
$image_proxy_maxsize = 0;
$image_proxy_enabled = 0;
$ssi_db_user = '';
$auth_secret = 'auth_secret';
?>