1 |
w |
1.1 |
use strict; |
2 |
|
|
# |
3 |
|
|
# You MUST modify following '$modifier_...' variables. |
4 |
|
|
# |
5 |
|
|
# our $modifier_dbtype = 'AnyDBM_File'; # Fast, not available on some server, page size limited. |
6 |
|
|
# our $modifier_dbtype = 'dbmopen'; # Fast, not available on some server, page size limited. |
7 |
w |
1.3 |
#our $modifier_dbtype = 'Yuki::YukiWikiDB'; # Slow, available on all environment. |
8 |
|
|
#our $modifier_dbtype = 'Yuki::YukiWikiDB2'; # Slow, available on all environment. |
9 |
|
|
our $modifier_dbtype = 'Yuki::YukiWikiDBMeta'; # Slow, available on all environment. |
10 |
|
|
our $url_cgi = '/~wakaba/suikawiki/wiki'; |
11 |
w |
1.1 |
## - MUST be started by '/' |
12 |
|
|
## - MUST NOT include [&<>"] and/or non-URI characters |
13 |
|
|
our %uri; |
14 |
|
|
$uri{wiki} = $url_cgi; |
15 |
w |
1.3 |
$uri{cvs_wikipage} = ''; ## URI path to Web interface of CVS repository of WikiPages ("" = none) |
16 |
|
|
$SuikaWiki::Plugin::plugin_directory = q(lib/SuikaWiki/Plugin/); |
17 |
w |
1.1 |
our %PathTo = ( ## Path to your data, from the main CGI script (NOT from this config script) |
18 |
w |
1.2 |
WikiDataBase => q(./wikidata/page), |
19 |
w |
1.1 |
); |
20 |
|
|
our $use_exists = 0; # If you can use 'exists' method for your DB. |
21 |
|
|
############################## |
22 |
|
|
our %PageName = ( |
23 |
|
|
FrontPage => 'HomePage', |
24 |
|
|
IndexPage => 'IndexPage', |
25 |
|
|
SearchPage => 'SearchPage', |
26 |
|
|
CreatePage => 'CreatePage', |
27 |
|
|
ErrorPage => 'ErrorPage', |
28 |
w |
1.3 |
RecentChanges => 'RecentChanges', |
29 |
w |
1.1 |
RssPage => 'RssPage', |
30 |
w |
1.3 |
AdminSpecialPage => "\x11\x11Admin\x11Special\x11Page\x11\x11", |
31 |
w |
1.1 |
DefaultStyleForHTML => 'WikiHTMLStyle', |
32 |
w |
1.3 |
UserAgentList => 'WikiUserAgentList', |
33 |
w |
1.1 |
); |
34 |
|
|
our $kanjicode = 'euc'; |
35 |
|
|
our $lang = 'ja'; |
36 |
w |
1.3 |
## List of WikiPages should not be changed |
37 |
|
|
our %FixedPage = ( |
38 |
w |
1.1 |
$PageName{ErrorPage} => 1, |
39 |
|
|
$PageName{RssPage} => 1, |
40 |
|
|
CompletedSuccessfully => 1, |
41 |
|
|
); |
42 |
w |
1.3 |
|
43 |
|
|
$wiki::useragent::UseLog = 0; ## Use User-Agent name log (WikiUserAgentList) or not |
44 |
|
|
$wiki::diff::UseDiff = 1; ## Use diff mode or not |
45 |
w |
1.1 |
|
46 |
|
|
1; |