forked from YorkCanoeClub/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.php
executable file
·61 lines (51 loc) · 2.32 KB
/
Settings.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
<?php
/**
* Simple Machines Forum (SMF)
*
* @package SMF
* @author Simple Machines http://www.simplemachines.org
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0
*/
########## 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 = 'Maintenance Mode'; # Title for the Maintenance Mode message.
$mmessage = 'We are currently performing some maintenance, please come back shortly.'; # Description of why the forum is in maintenance mode.
########## Forum Info ##########
$mbname = 'York Canoe Club'; # The name of your forum.
$language = 'english'; # The default language file set for the forum.
$boardurl = 'http://www.yorkcanoeclub.co.uk'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email = '[email protected]'; # Email address to send emails from. (like [email protected].)
$cookiename = 'SMFCookie57'; # Name of the cookie to set for authentication.
########## Database Info ##########
$db_type = 'mysql';
$db_server = 'localhost';
$db_name = '';
$db_user = '';
$db_passwd = '';
$ssi_db_user = '';
$ssi_db_passwd = '';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 0;
########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/home/yorkcano/public_html'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '/home/yorkcano/public_html/Sources'; # Path to the Sources directory.
$cachedir = '/home/yorkcano/public_html/cache'; # Path to the cache 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';
if (!file_exists($cachedir) && file_exists($boarddir . '/cache'))
$cachedir = $boarddir . '/cache';
require(dirname(dirname(__FILE__)) . '/Settings-Local.php');
$db_character_set = 'utf8';
?>