/[pub]/suikawiki/wikidata/suikawiki-config.ph
Suika

Contents of /suikawiki/wikidata/suikawiki-config.ph

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jan 3 03:43:07 2003 UTC (22 years, 5 months ago) by w
Branch: MAIN
Changes since 1.2: +14 -13 lines
Update to new database format

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 = '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 ## - MUST be started by '/'
12 ## - MUST NOT include [&<>"] and/or non-URI characters
13 our %uri;
14 $uri{wiki} = $url_cgi;
15 $uri{cvs_wikipage} = ''; ## URI path to Web interface of CVS repository of WikiPages ("" = none)
16 $SuikaWiki::Plugin::plugin_directory = q(lib/SuikaWiki/Plugin/);
17 our %PathTo = ( ## Path to your data, from the main CGI script (NOT from this config script)
18 WikiDataBase => q(./wikidata/page),
19 );
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 RecentChanges => 'RecentChanges',
29 RssPage => 'RssPage',
30 AdminSpecialPage => "\x11\x11Admin\x11Special\x11Page\x11\x11",
31 DefaultStyleForHTML => 'WikiHTMLStyle',
32 UserAgentList => 'WikiUserAgentList',
33 );
34 our $kanjicode = 'euc';
35 our $lang = 'ja';
36 ## List of WikiPages should not be changed
37 our %FixedPage = (
38 $PageName{ErrorPage} => 1,
39 $PageName{RssPage} => 1,
40 CompletedSuccessfully => 1,
41 );
42
43 $wiki::useragent::UseLog = 0; ## Use User-Agent name log (WikiUserAgentList) or not
44 $wiki::diff::UseDiff = 1; ## Use diff mode or not
45
46 1;

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24