forked from marlencrabapple/Glaukaba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globalconfig.pl
51 lines (45 loc) · 1.75 KB
/
globalconfig.pl
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
use constant DOMAIN => 'jbotcan.lojban.org'; # Don't include http:// or any trailing slashes
use constant SITE_NAME => 'jbotcan';
use constant BOARDS => [
# {
# name => "", # The name you want to appear in the site's public navigation
# dir => "", # Don't include any slashes
# public => 1 # Set to 0 if you don't want the board to appear in the site's public navigation
# },
# {
# name => "",
# dir => "",
# public => 1
# },
{
name => "jbo",
dir => "jbo",
public => 1,
lastboard => 1
}
];
#use constant LINKS => [
# {
# name => "@",
# url => "https://twitter.com/mysiteofficial",
# rel => "me",
# lastlink => 1
# }
#];
# change these in glaukaba (not here) after logging in
#use constant DEFAULT_USER => 'admin';
#use constant DEFAULT_PASS => 'admin';
#use constant DEFAULT_EMAIL => '[email protected]';
#use constant SQL_DBI_SOURCE => 'DBI:mysql:database=CHANGEME;host=CHANGEME';
#use constant SQL_USERNAME => '';
#use constant SQL_PASSWORD => '';
##use constant SQL_DBI_SOURCE => 'dbi:SQLite:dbname=wakaba.sql'; # DBI data source string (SQLite version, put database filename in here)
# Chances are you won't have to edit anything past here.
#use constant USE_TEMPFILES => 1;
use constant JS_FILE => 'glaukaba-main.js'; # Location of the js file
use constant EXTRA_JS_FILE => 'glaukaba-extra.js'; # Location of the optional feature js file
use constant CSS_DIR => '/css/boards/';
use constant CONVERT_COMMAND => 'convert'; # location of the ImageMagick convert command (usually just 'convert', but sometime a full path is needed)
#use constant CONVERT_COMMAND => '/usr/X11R6/bin/convert';
use constant SPAM_FILES => ('../spam.txt'); # Go to http://wakaba.c3.cx/antispam/spam.txt for an updated list
1;