comparison forum/Settings.php @ 76:e3e11437ecea website

Add forum code
author Chris Cannam
date Sun, 07 Jul 2013 11:25:48 +0200
parents
children
comparison
equal deleted inserted replaced
75:72f59aa7e503 76:e3e11437ecea
1 <?php
2 /**********************************************************************************
3 * Settings.php *
4 ***********************************************************************************
5 * SMF: Simple Machines Forum *
6 * Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com) *
7 * =============================================================================== *
8 * Software Version: SMF 1.1 *
9 * Software by: Simple Machines (http://www.simplemachines.org) *
10 * Copyright 2006 by: Simple Machines LLC (http://www.simplemachines.org) *
11 * 2001-2006 by: Lewis Media (http://www.lewismedia.com) *
12 * Support, News, Updates at: http://www.simplemachines.org *
13 ***********************************************************************************
14 * This program is free software; you may redistribute it and/or modify it under *
15 * the terms of the provided license as published by Simple Machines LLC. *
16 * *
17 * This program is distributed in the hope that it is and will be useful, but *
18 * WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY *
19 * or FITNESS FOR A PARTICULAR PURPOSE. *
20 * *
21 * See the "license.txt" file for details of the Simple Machines license. *
22 * The latest version can always be found at http://www.simplemachines.org. *
23 **********************************************************************************/
24
25
26 ########## Maintenance ##########
27 # Note: If $maintenance is set to 2, the forum will be unusable! Change it to 0 to fix it.
28 $maintenance = 0; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
29 $mtitle = 'Upgrading the forum...'; # Title for the Maintenance Mode message.
30 $mmessage = 'Don\'t worry, we will be back shortly with an updated forum. It will only be a minute ;).'; # Description of why the forum is in maintenance mode.
31
32 ########## Forum Info ##########
33 $mbname = 'Vamp Plugins Forum'; # The name of your forum.
34 $language = 'english'; # The default language file set for the forum.
35 $boardurl = 'http://vamp-plugins.org/forum'; # URL to your forum's folder. (without the trailing /!)
36 $webmaster_email = 'noreply@vamp-plugins.org'; # Email address to send emails from. (like noreply@yourdomain.com.)
37 $cookiename = 'SMFCookie529'; # Name of the cookie to set for authentication.
38
39 ########## Database Info ##########
40 $db_server = 'localhost';
41 $db_name = 'vampplu';
42 $db_user = 'vampplu';
43 $db_passwd = 'ppmgdt21';
44 $db_prefix = 'smf_';
45 $db_persist = 0;
46 $db_error_send = 1;
47
48 ########## Directories/Files ##########
49 # Note: These directories do not have to be changed unless you move things.
50 $boarddir = '/var/www/vamp-plugins.org/forum'; # The absolute path to the forum's folder. (not just '.'!)
51 $sourcedir = '/var/www/vamp-plugins.org/forum/Sources'; # Path to the Sources directory.
52
53 ########## Error-Catching ##########
54 # Note: You shouldn't touch these settings.
55 $db_last_error = 1353261146;
56
57
58 # Make sure the paths are correct... at least try to fix them.
59 if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
60 $boarddir = dirname(__FILE__);
61 if (!file_exists($sourcedir) && file_exists($boarddir . '/Sources'))
62 $sourcedir = $boarddir . '/Sources';
63
64 $db_character_set = 'utf8';
65 $cachedir = '/var/www/vamp-plugins.org/forum/cache';
66 ?>