mojomojo / mojomojo.conf
100644 60 lines (50 sloc) 1.447 kb
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
name MojoMojo
theme default
 
# If you change default_lang on a running site, please delete the index_dir
# from your file system so it will be generated using the new language the
# next time you start this mojomojo
default_lang en
 
email SMTP
email localhost
system_mail Default Installation <noreply@mojomojo.org>
 
# Un-comment force_ssl line below if you want to enforce https scheme
# force_ssl 1
 
<Model::DBIC>
    connect_info dbi:SQLite:mojomojo.db
    connect_info username
    connect_info password
</Model::DBIC>
 
root __path_to(root)__
static_path /.static/
attachment_dir __path_to(uploads)__
index_dir __path_to(index)__
 
<session>
    expires 604800
    cache_size 15m
    verify_address 0
</session>
 
<permissions>
    check_permission_on_view 1
    cache_permission_data 1
    enforce_login 0
    create_allowed 1
    delete_allowed 1
    edit_allowed 1
    view_allowed 1
    attachment_allowed 1
</permissions>
 
<environment>
    RECAPTCHA_PUBLIC_KEY 6LcsbAAAAAAAAPDSlBaVGXjMo1kJHwUiHzO2TDze
    RECAPTCHA_PRIVATE_KEY 6LcsbAAAAAAAANQQGqwsnkrTd7QTGRBKQQZwBH-L
</environment>
 
# Put the domain names or URLs you'd like to allow src= from.
<allowed>
    src delicious.com
    src flickr.com
    src getsatisfaction.com
    src google.com
    src iusethis.com
    src iwatchthis.com
    src last.fm
    src twitter.com
</allowed>