annotate forum/Settings.php @ 76:e3e11437ecea website

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