forked from mojomojo/mojomojo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmojomojo.conf
86 lines (72 loc) · 2.07 KB
/
mojomojo.conf
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# NOTE: As a best practice, instead of editing this file, create a
# mojomojo_local.conf file, and modify there settings from this file.
# Settings in mojomojo_local.conf will take precedence, and they
# won't be overwritten when upgrading MojojMojo.
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
system_mail Default Installation <[email protected]>
<View::Email>
<sender>
mailer SMTP
<mailer_args>
host localhost
</mailer_args>
</sender>
</View::Email>
# Un-comment force_ssl line below if you want to enforce HTTPS
#force_ssl 1
<Model::DBIC>
<connect_info>
# DB User
#user db_user
#password db_password
# SQLite dsn (default data store)
dsn dbi:SQLite:mojomojo.db
# Enable unicode for supported databases
sqlite_unicode 1
#mysql_enable_utf8 1
#pg_enable_utf8 1
</connect_info>
</Model::DBIC>
#root __path_to(root)__
#static_path /.static/
attachment_dir ./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>
<Formatter::Dir>
prefix_url /myfiles
whitelisting t/var/files
</Formatter::Dir>