hostname.conf 3.33 KB
Newer Older
Dries's avatar
 
Dries committed
1
<?php
Dries's avatar
Dries committed
2 3

#
Dries's avatar
 
Dries committed
4
# Database settings:
Dries's avatar
Dries committed
5
#
Dries's avatar
 
Dries committed
6
$db_host = "localhost";
Dries's avatar
 
Dries committed
7 8 9
$db_user = "username";
$db_pass = "password";
$db_name = "database";
Dries's avatar
 
Dries committed
10

Dries's avatar
Dries committed
11
#
Dries's avatar
 
Dries committed
12
# Administrative information
Dries's avatar
Dries committed
13
#
Dries's avatar
 
Dries committed
14
$site_name = "site name";
Dries's avatar
 
Dries committed
15
$site_url = "http://yourdomain.com/";  // add a trailing slash
Dries's avatar
 
Dries committed
16
$site_email = "info@yourdomain.com";
Dries's avatar
 
Dries committed
17

Dries's avatar
Dries committed
18
#
Dries's avatar
Dries committed
19
# Comment votes:
Dries's avatar
 
Dries committed
20
#   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.
Dries's avatar
Dries committed
21
#
Dries's avatar
 
Dries committed
22 23
$comment_votes = array("none" => "none",
                       "-1"   => "- 1",
Dries's avatar
 
Dries committed
24 25 26
                       "0"    => "+ 0",
                       "+1"   => "+ 1",
                       "+2"   => "+ 2",
Dries's avatar
 
Dries committed
27 28
                       "+3"   => "+ 3",
                       "+4"   => "+ 4",
Dries's avatar
 
Dries committed
29
                       "+5"   => "+ 5");
Dries's avatar
Dries committed
30

Dries's avatar
 
Dries committed
31
#
Dries's avatar
Dries committed
32 33
# Allowed HTML tags:
#
Dries's avatar
 
Dries committed
34
$allowed_html = "<A><B><BLOCKQUOTE><DD><DL><DT><EM><HR><I><LI><SMALL><OL><U><UL>";
Dries's avatar
Dries committed
35 36

#
Dries's avatar
Dries committed
37
# Name for anonymous users:
Dries's avatar
Dries committed
38 39 40
#
$anonymous = "Anonymous Chicken";

Dries's avatar
 
Dries committed
41
#
42
# Themes:
Dries's avatar
 
Dries committed
43
#   The first theme listed in this associative array will automatically become the default theme.
Dries's avatar
 
Dries committed
44
#
Dries's avatar
 
Dries committed
45
$themes = array("UnConeD" => array(
Dries's avatar
 
Dries committed
46 47
                  "themes/unconed/unconed.theme",
                  "modern theme, gray and blue, high coolness factor"),
Dries's avatar
 
Dries committed
48
                "Marvin"  => array(
Dries's avatar
 
Dries committed
49 50
                  "themes/marvin/marvin.theme",
                  "classic theme, white, basic design with a fresh look"));
Dries's avatar
 
Dries committed
51

Dries's avatar
 
Dries committed
52 53
#
# Languages / translation / internationalization:
Dries's avatar
 
Dries committed
54 55 56
#   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("en" => "English");
Dries's avatar
 
Dries committed
57

Dries's avatar
 
Dries committed
58 59
#
# Submission moderation votes:
Dries's avatar
 
Dries committed
60
#   The keys of this associative array are displayed in each submission's selection box whereas the corresponding values represent the mathematical calculation to be performed to update a comment's value.
Dries's avatar
 
Dries committed
61 62
#   Warning: changing $moderation_votes will affect the integrity of all pending stories in the open submission queue.   Do not change this setting unless there are no pending stories in the submission queue or unless you know what you are doing.
$moderation_votes = array("neutral (+0)" => "+ 0",
Dries's avatar
 
Dries committed
63 64 65
                          "post it (+1)" => "+ 1",
                          "dump it (-1)" => "- 1");

Dries's avatar
 
Dries committed
66 67
#
# Submission rate:
Dries's avatar
 
Dries committed
68 69
#   Defines the submission rate for the different types of content submission.  It is supposed to stop malicious attempts to screw with the database and to stop denial of service attacks.
#   Example: '"comment" => 60' means that there is only one new comment allowed from the same IP-address every 60 seconds.
Dries's avatar
 
Dries committed
70 71 72 73
#
$submission_rate = array("comment" => "60",     //  60 seconds = 1 minute
                         "diary"   => "300",    // 300 seconds = 5 minutes
                         "story"   => "300");   // 300 seconds = 5 minutes
Dries's avatar
 
Dries committed
74

Dries's avatar
 
Dries committed
75 76
#
# Submission size:
Dries's avatar
 
Dries committed
77
#  The maximum length (i.e. the maximum number of characters) a story, a diary entry, or a comment is allowed to be.
Dries's avatar
 
Dries committed
78
#
Dries's avatar
 
Dries committed
79
$submission_size = 12000;     // 12.000 characters is appr. 300 lines
Dries's avatar
 
Dries committed
80

Dries's avatar
Dries committed
81
?>