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 |
|
|
our $modifier_dbtype = 'YukiWikiDB'; # Slow, available on all environment. |
8 |
|
|
our $url_cgi = '/~wakaba/wiki/wiki'; |
9 |
|
|
## - MUST be started by '/' |
10 |
|
|
## - MUST NOT include [&<>"] and/or non-URI characters |
11 |
|
|
our %uri; |
12 |
|
|
$uri{wiki} = $url_cgi; |
13 |
|
|
$uri{cvs_wikipage} = '/gate/cvs/wakaba/suikawiki/wiki/'; ## URI path to Web interface of CVS repository of WikiPages ("" = none) |
14 |
|
|
$SuikaWiki::Plugin::plugin_directory = q(./SuikaWiki/Plugin/); |
15 |
|
|
our %PathTo = ( ## Path to your data, from the main CGI script (NOT from this config script) |
16 |
|
|
TouchFile => q(./wikidata/touched.txt), |
17 |
|
|
WikiDataBase => q(./wikidata/page), |
18 |
|
|
WikiInfoBase => q(./wikidata/info), |
19 |
|
|
WikiDiffBase => q(./wikidata/diff), |
20 |
|
|
); |
21 |
|
|
our $use_exists = 0; # If you can use 'exists' method for your DB. |
22 |
|
|
############################## |
23 |
|
|
our %PageName = ( |
24 |
|
|
FrontPage => 'HomePage', |
25 |
|
|
IndexPage => 'IndexPage', |
26 |
|
|
SearchPage => 'SearchPage', |
27 |
|
|
CreatePage => 'CreatePage', |
28 |
|
|
ErrorPage => 'ErrorPage', |
29 |
|
|
RssPage => 'RssPage', |
30 |
|
|
AdminSpecialPage => 'Admin Special Page', # must include spaces. |
31 |
|
|
DefaultStyleForHTML => 'WikiHTMLStyle', |
32 |
|
|
); |
33 |
|
|
our $kanjicode = 'euc'; |
34 |
|
|
our $lang = 'ja'; |
35 |
|
|
our %fixedpage = ( |
36 |
|
|
$PageName{IndexPage} => 1, |
37 |
|
|
$PageName{ErrorPage} => 1, |
38 |
|
|
$PageName{RssPage} => 1, |
39 |
|
|
RecentChanges => 1, |
40 |
|
|
AdminChangePassword => 1, |
41 |
|
|
CompletedSuccessfully => 1, |
42 |
|
|
WikiUserAgentList => 1, |
43 |
|
|
); |
44 |
|
|
|
45 |
|
|
1; |