summaryrefslogtreecommitdiff
path: root/includes/setting.php
blob: 525de3bb4226230010807347d249ce523d71ed9f (plain)
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
<?php

#
# Database settings:
#
$db_host = "localhost";
$db_user = "username";
$db_pass = "password";
$db_name = "database";

#
# Comment votes:
#   The keys of this associative array are displayed in each comment's
#   selection box whereas the corresponding values represent the
#   mathematical calculation to be performed to update a comment's
#   value.
#
$comment_votes = array("none" => "none",
                       "-1"   => "- 1",
                       "0"    => "+ 0",
                       "+1"   => "+ 1",
                       "+2"   => "+ 2",
                       "+3"   => "+ 3",
                       "+4"   => "+ 4",
                       "+5"   => "+ 5");

#
# Allowed HTML tags:
#
$allowed_html = "<A><B><BLOCKQUOTE><CODE><DD><DL><DT><EM><HR><I><LI><SMALL><OL><U><UL>";

#
# Themes:
#   The first theme listed in this associative array will automatically
#   become the default theme.
#
$themes = array("UnConeD" => array(
                  "themes/unconed/unconed.theme",
                  "modern theme, gray and blue, high coolness factor"),
                "Marvin"  => array(
                  "themes/marvin/marvin.theme",
                  "classic theme, white, basic design with a fresh look"));

#
# Languages / translation / internationalization:
#   The first language listed in this associative array will
#   automatically become the default language.  You can add a language
#   but make sure your SQL table, called locales is updated
#   appropriately.
#
#   Translation support - as provided by the default locale module add
#   significant overhead to your site in exchange for excessive
#   maintenance capabilities.  If your site does not require
#   translation support, disable it by commenting out the $language
#   variable below.
#$languages = array();  // = language support disabled
$languages = array("en" => "English");

# This line prevents users from accessing your settings file:
if (basename($SCRIPT_FILENAME) == basename(__FILE__) && basename($SCRIPT_FILENAME) != "") die("access denied");

?>