6
6
This is NOT intended for internet or server or multiuser use due to relaxed security settings!
11
from MoinMoin.config import multiconfig, url_prefix_static
14
class LocalConfig(multiconfig.DefaultConfig):
9
from MoinMoin.config.multiconfig import DefaultConfig
12
class LocalConfig(DefaultConfig):
15
13
# vvv DON'T TOUCH THIS EXCEPT IF YOU KNOW WHAT YOU DO vvv
16
# Directory containing THIS wikiconfig:
17
wikiconfig_dir = os.path.abspath(os.path.dirname(__file__))
19
# We assume this structure for a simple "unpack and run" scenario:
24
# If that's not true, feel free to just set instance_dir to the real path
25
# where data/ and underlay/ is located:
26
#instance_dir = '/where/ever/your/instance/is'
27
instance_dir = os.path.join(wikiconfig_dir, 'wiki')
29
# Where your own wiki pages are (make regular backups of this directory):
30
data_dir = os.path.join(instance_dir, 'data', '') # path with trailing /
32
# Where system and help pages are (you may exclude this from backup):
33
data_underlay_dir = os.path.join(instance_dir, 'underlay', '') # path with trailing /
14
moinmoin_dir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0])))
15
data_dir = os.path.join(moinmoin_dir, 'wiki', 'data')
16
data_underlay_dir = os.path.join(moinmoin_dir, 'wiki', 'underlay')
35
18
DesktopEdition = True # give all local users full powers
36
19
acl_rights_default = u"All:read,write,delete,revert,admin"
37
20
surge_action_limits = None # no surge protection
38
21
sitename = u'MoinMoin DesktopEdition'
39
logo_string = u'<img src="%s/common/moinmoin.png" alt="MoinMoin Logo">' % url_prefix_static
22
logo_string = u'<img src="/moin_static170/common/moinmoin.png" alt="MoinMoin Logo">'
23
page_front_page = u'FrontPage' # change to some better value
40
24
# ^^^ DON'T TOUCH THIS EXCEPT IF YOU KNOW WHAT YOU DO ^^^
42
#page_front_page = u'FrontPage' # change to some better value
44
27
# Add your configuration items here.
45
secrets = 'This string is NOT a secret, please make up your own, long, random secret string!'
47
31
# DEVELOPERS! Do not add your configuration items there,
48
32
# you could accidentally commit them! Instead, create a