OSDN Git Service

b18f2a88bc0e4e10d90b2847ae2181f92ad460e1
[pukiwiki/pukiwiki.git] / pukiwiki.ini.php
1 <?php
2 /////////////////////////////////////////////////
3 // PukiWiki - Yet another WikiWikiWeb clone.
4 //
5 // $Id: pukiwiki.ini.php,v 1.73 2004/08/08 03:09:17 henoheno Exp $
6 //
7 // PukiWiki setting file
8
9 /////////////////////////////////////////////////
10 // ¥Ç¥£¥ì¥¯¥È¥ê»ØÄ꠺Ǹå¤Ë / ¤¬É¬Íנ°À­¤Ï 777
11
12 // ¥Ç¡¼¥¿¤Î³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê
13 define('DATA_DIR', DATA_HOME . 'wiki/');
14
15 // º¹Ê¬¥Õ¥¡¥¤¥ë¤Î³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê
16 define('DIFF_DIR', DATA_HOME . 'diff/');
17
18 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë³ÊǼÀè¥Ç¥£¥ì¥¯¥È¥ê
19 define('BACKUP_DIR', DATA_HOME . 'backup/');
20
21 // ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê
22 define('CACHE_DIR', DATA_HOME . 'cache/');
23
24 // ÅºÉÕ¥Õ¥¡¥¤¥ë³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê
25 define('UPLOAD_DIR', DATA_HOME . 'attach/');
26
27 // ¥«¥¦¥ó¥¿¥Õ¥¡¥¤¥ë³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê
28 define('COUNTER_DIR', DATA_HOME . 'counter/');
29
30 // TrackBack¥Õ¥¡¥¤¥ë³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê
31 define('TRACKBACK_DIR', DATA_HOME . 'trackback/');
32
33 /////////////////////////////////////////////////
34 // ¥Ç¥£¥ì¥¯¥È¥ê»ØÄ꠺Ǹå¤Ë / ¤¬É¬Í×
35
36 // ¥×¥é¥°¥¤¥ó¥Õ¥¡¥¤¥ë³ÊǼÀè¥Ç¥£¥ì¥¯¥È¥ê
37 define('PLUGIN_DIR', DATA_HOME . 'plugin/');
38
39 // ¥¹¥­¥ó/¥¹¥¿¥¤¥ë¥·¡¼¥È¥Õ¥¡¥¤¥ë³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê
40 define('SKIN_DIR', 'skin/');
41
42 // ²èÁü¥Õ¥¡¥¤¥ë³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê
43 define('IMAGE_DIR', 'image/');
44
45 /////////////////////////////////////////////////
46 // ¥í¡¼¥«¥ë»þ´Ö
47 define('ZONE','JST');
48 define('ZONETIME',9 * 3600); // JST = GMT+9
49
50 /////////////////////////////////////////////////
51 // index.php ¤Ê¤É¤ËÊѹ¹¤·¤¿¾ì¹ç¤Î¥¹¥¯¥ê¥×¥È̾¤ÎÀßÄê
52 // ¤È¤¯¤ËÀßÄꤷ¤Ê¤¯¤Æ¤âÌäÂê¤Ê¤·
53 //$script = 'http://hogehoge/pukiwiki/';
54
55 /////////////////////////////////////////////////
56
57 // ¥È¥Ã¥×¥Ú¡¼¥¸¤Î̾Á°
58 $defaultpage = 'FrontPage';
59
60 // ¹¹¿·ÍúÎò¥Ú¡¼¥¸¤Î̾Á°
61 $whatsnew = 'RecentChanges';
62
63 // ºï½üÍúÎò¥Ú¡¼¥¸¤Î̾Á°
64 $whatsdeleted = 'RecentDeleted';
65
66 // InterWikiName¥Ú¡¼¥¸¤Î̾Á°
67 $interwiki = 'InterWikiName';
68
69 // MenuBar¥Ú¡¼¥¸¤Î̾Á°
70 $menubar = 'MenuBar';
71
72 /////////////////////////////////////////////////
73 // ÊÔ½¸¼Ô¤Î̾Á°(¼«Í³¤ËÊѤ¨¤Æ¤¯¤À¤µ¤¤)
74 $modifier = 'me';
75
76 // ÊÔ½¸¼Ô¤Î¥Û¡¼¥à¥Ú¡¼¥¸(¼«Í³¤ËÊѤ¨¤Æ¤¯¤À¤µ¤¤)
77 $modifierlink = 'http://change me!/';
78
79 /////////////////////////////////////////////////
80 // ¥Û¡¼¥à¥Ú¡¼¥¸¤Î¥¿¥¤¥È¥ë(¼«Í³¤ËÊѤ¨¤Æ¤¯¤À¤µ¤¤)
81 // RSS ¤Ë½ÐÎϤ¹¤ë¥Á¥ã¥ó¥Í¥ë̾
82 $page_title = 'PukiWiki';
83
84 /////////////////////////////////////////////////
85 // TrackBackµ¡Ç½¤ò»ÈÍѤ¹¤ë
86 $trackback = 0;
87
88 /////////////////////////////////////////////////
89 // Refererµ¡Ç½¤ò»ÈÍѤ¹¤ë
90 $referer = 0;
91
92 /////////////////////////////////////////////////
93 // WikiName¤ò *̵¸ú¤Ë* ¤¹¤ë
94 $nowikiname = 0;
95
96 /////////////////////////////////////////////////
97 // AutoLink¤òÍ­¸ú¤Ë¤¹¤ë¾ì¹ç¤Ï¡¢AutoLinkÂоݤȤʤë
98 // ¥Ú¡¼¥¸Ì¾¤ÎºÇû¥Ð¥¤¥È¿ô¤ò»ØÄê
99 // AutoLink¤ò̵¸ú¤Ë¤¹¤ë¾ì¹ç¤Ï0
100 $autolink = 0;
101
102 /////////////////////////////////////////////////
103 // Åà·ëµ¡Ç½¤òÍ­¸ú¤Ë¤¹¤ë
104 $function_freeze = 1;
105
106 /////////////////////////////////////////////////
107 // ´ÉÍý¼Ô¥Ñ¥¹¥ï¡¼¥É
108
109 // °Ê²¼¤Ï md5('pass') ¤Î½ÐÎÏ·ë²Ì¤Ç¤¹
110 $adminpass = '1a1dc91c907325c69271ddf0c944bc72';
111
112 // = Ãí°Õ =
113 //
114 // ¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤹ¤ëÊýË¡¤È¤·¤Æ¡¢md5()´Ø¿ô¤ò»È¤¦ÊýË¡¤È¡¢
115 // md5()´Ø¿ô¤Î·ë²Ì¤òÊÌÅÓ»»½Ð¤·¤Æ»È¤¦ÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£
116 // ¤¢¤Ê¤¿¤¬¥³¥ó¥Ô¥å¡¼¥¿¤ÎÁàºî¤Ë½¼Ê¬´·¤ì¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢
117 // ¸å¼Ô¤ò¤ª´«¤á¤·¤Þ¤¹¡£
118 //
119 // Î㤨¤Ð¥Ñ¥¹¥ï¡¼¥É¤ò¡Öpass¡×¤È¤·¤¿¤¤¾ì¹ç¡¢°Ê²¼¤ÎÍͤ˵­½Ò¤¹¤ë
120 // ¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
121 //
122 // $adminpass = md5('pass');    // md5() ´Ø¿ô¤ò»È¤¦ÊýË¡
123 //
124 // ¤¿¤À¤·¡¢¤³¤ÎÊýË¡¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤òÇÁ¤­¸«¤ë¤³¤È¤¬¤Ç¤­¤ë
125 // (¤Ç¤­¤¿) Ã¯¤«¤Ë¡¢¥Ñ¥¹¥ï¡¼¥É¤½¤Î¤â¤Î¤òÃΤé¤ì¤ë¹â¤¤´í¸±À­¤¬
126 // ¤¢¤ê¤Þ¤¹¡£¤³¤Î´í¸±À­¤ò²¼¤²¤ë¤¿¤á¤Ë¡¢MD5´Ø¿ô¤Î·ë²Ì¤À¤±¤ò
127 // µ­½Ò¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
128 //
129 // MD5´Ø¿ô¤Î·ë²Ì(¥Ï¥Ã¥·¥å)¤Ï0¤«¤é9¤Î¿ô»ú¤È¡¢A¤«¤éF¤Þ¤Ç¤Î±Ñ»ú
130 // ¤«¤é¤Ê¤ë32ʸ»ú¤Îʸ»úÎó¤Ç¡¢¤³¤Î¾ðÊó¤À¤±¤Ç¤Ï¸µ¤Îʸ»úÎó¤ò
131 // ¿ä¬¤¹¤ë¤³¤È¤Ïº¤Æñ¤Ç¤¹¡£
132 //
133 // 'pass' ¤ÎMD5¥Ï¥Ã¥·¥å¤ò»»½Ð¤¹¤ë¤Ë¤Ï¡¢Linux¤äcygwin¤Ç¤¢¤ì¤Ð
134 //    $ echo -n 'pass' | md5sum
135 // ¤ÎÍͤˤ·¤Æ»»½Ð¤¹¤ë»ö¤¬¤Ç¤­¤Þ¤¹¡£('-n' ¥ª¥×¥·¥ç¥ó¤ò˺¤ì¤º¤Ë!)
136 // FreeBSD¤Ê¤É¤Ç¤Ïmd5sum¤ÎÂå¤ï¤ê¤Ëmd5¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£
137 //
138 // ¤ª´«¤á¤Ç¤­¤Þ¤»¤ó¤¬¡¢PukiWiki¤Îmd5¥³¥Þ¥ó¥É¤Ç¤â»»½Ð¤¬²Äǽ¤Ç¤¹¡£
139 // http://<ÀßÃÖ¤·¤¿¾ì½ê>/pukiwiki.php?md5=pass
140 // ¤³¤ÎURL¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤Ç¡¢»»½Ð·ë²Ì¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤½¤Î
141 // ¤«¤ï¤ê¡¢¤¢¤Ê¤¿¤¬¥¿¥¤¥×¤·¤¿¥Ñ¥¹¥ï¡¼¥É¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤òή¤ì¡¢
142 // Ã¯¤Ë¤Ç¤âÇÁ¤­¸«¤¬¤Ç¤­¡¢Web¥µ¡¼¥Ð¡¼¤Î¥í¥°¤Ë¤â»Ä¤Ã¤Æ¤·¤Þ¤¦¡¢
143 // ¤È¤¤¤Ã¤¿ÍÍ¡¹¤Ê¥ê¥¹¥¯¤òÉ餦²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¤¢¤Ê¤¿¤¬»È¤Ã¤Æ
144 // ¤¤¤ë¥³¥ó¥Ô¥å¡¼¥¿¡¢¥µ¡¼¥Ð¡¼¤Þ¤Ç¤Î¥Í¥Ã¥È¥ï¡¼¥¯¡¢¥µ¡¼¥Ð¡¼¤Î
145 // ¤É¤³¤«¤¬¿®Íê¤Ç¤­¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢¤³¤ÎÊýË¡¤Ï»È¤ï¤Ê¤¤¤Ç²¼¤µ¤¤¡£
146
147 /////////////////////////////////////////////////
148 // ChaSen, KAKASI ¤Ë¤è¤ë¡¢¥Ú¡¼¥¸Ì¾¤ÎÆɤߤμèÆÀ (0:̵¸ú,1:Í­¸ú)
149 $pagereading_enable = 0;
150
151 // ChaSen or KAKASI or none
152 //$pagereading_kanji2kana_converter = 'chasen';
153 //$pagereading_kanji2kana_converter = 'kakasi';
154 $pagereading_kanji2kana_converter = 'none';
155
156 // ChaSen/KAKASI ¤È¤Î¼õ¤±ÅϤ·¤Ë»È¤¦´Á»ú¥³¡¼¥É (UNIX·Ï¤Ï EUC¡¢Win·Ï¤Ï SJIS ¤¬´ðËÜ)
157 $pagereading_kanji2kana_encoding = 'EUC';
158 //$pagereading_kanji2kana_encoding = 'SJIS';
159
160 // ChaSen/KAKASI ¤Î¼Â¹Ô¥Õ¥¡¥¤¥ë (³Æ¼«¤Î´Ä¶­¤Ë¹ç¤ï¤»¤ÆÀßÄê)
161 $pagereading_chasen_path = '/usr/local/bin/chasen';
162 //$pagereading_chasen_path = 'c:\progra~1\chasen21\chasen.exe';
163 $pagereading_kakasi_path = '/usr/local/bin/kakasi';
164 //$pagereading_kakasi_path = 'c:\kakasi\bin\kakasi.exe';
165
166 // ¥Ú¡¼¥¸Ì¾Æɤߤò³ÊǼ¤·¤¿¥Ú¡¼¥¸¤Î̾Á°
167 $pagereading_config_page = ':config/PageReading';
168 // converter = none ¤Î¾ì¹ç¤ÎÆɤ߲¾Ì¾¼­½ñ
169 $pagereading_config_dict = ':config/PageReading/dict';
170
171 /////////////////////////////////////////////////
172 // ¥æ¡¼¥¶ÄêµÁ
173 $auth_users = array(
174         'foo'   => 'foo_passwd',
175         'bar'   => 'bar_passwd',
176         'hoge'  => 'hoge_passwd',
177 );
178
179 /////////////////////////////////////////////////
180 // Ç§¾ÚÊý¼°¼ïÊÌ
181 // pagename : ¥Ú¡¼¥¸Ì¾
182 // contents : ¥Ú¡¼¥¸ÆâÍÆ
183 $auth_method_type = "contents";
184
185 /////////////////////////////////////////////////
186 // ±ÜÍ÷ǧ¾Ú¥Õ¥é¥°
187 // 0:ÉÔÍ×
188 // 1:ɬÍ×
189 $read_auth = 0;
190
191 // ±ÜÍ÷ǧ¾ÚÂоݥѥ¿¡¼¥óÄêµÁ
192 $read_auth_pages = array(
193         '/¤Ò¤­¤³¤â¤ë¤Û¤²/'      => 'hoge',
194         '/(¥Í¥¿¥Ð¥ì|¤Í¤¿¤Ð¤ì)/' => 'foo,bar,hoge',
195 );
196
197 /////////////////////////////////////////////////
198 // ÊÔ½¸Ç§¾Ú¥Õ¥é¥°
199 // 0:ÉÔÍ×
200 // 1:ɬÍ×
201 $edit_auth = 0;
202
203 // ÊÔ½¸Ç§¾ÚÂоݥѥ¿¡¼¥óÄêµÁ
204 $edit_auth_pages = array(
205         '/Bar¤Î¸ø³«Æüµ­/'       => 'bar',
206         '/¤Ò¤­¤³¤â¤ë¤Û¤²/'      => 'hoge',
207         '/(¥Í¥¿¥Ð¥ì|¤Í¤¿¤Ð¤ì)/' => 'foo',
208 );
209
210 /////////////////////////////////////////////////
211 // ¸¡º÷ǧ¾Ú¥Õ¥é¥°
212 // 0: ±ÜÍ÷¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ú¡¼¥¸ÆâÍƤ⸡º÷ÂоݤȤ¹¤ë
213 // 1: ¸¡º÷»þ¤Î¥í¥°¥¤¥ó¥æ¡¼¥¶¤Ëµö²Ä¤µ¤ì¤¿¥Ú¡¼¥¸¤Î¤ß¸¡º÷ÂоݤȤ¹¤ë
214 $search_auth = 0;
215
216 /////////////////////////////////////////////////
217 // ¹¹¿·ÍúÎò¤òɽ¼¨¤¹¤ë¤È¤­¤ÎºÇÂç·ï¿ô
218 $maxshow = 80;
219
220 // ºï½üÍúÎò¤ÎºÇÂç·ï¿ô(0¤Çµ­Ï¿¤·¤Ê¤¤)
221 $maxshow_deleted = 0;
222
223 /////////////////////////////////////////////////
224 // ÊÔ½¸¤¹¤ë¤³¤È¤Î¤Ç¤­¤Ê¤¤¥Ú¡¼¥¸¤Î̾Á° , ¤Ç¶èÀÚ¤ë
225 $cantedit = array( $whatsnew, $whatsdeleted );
226
227 /////////////////////////////////////////////////
228 // Last-Modified ¥Ø¥Ã¥À¤ò½ÐÎϤ¹¤ë
229 $lastmod = 0;
230
231 /////////////////////////////////////////////////
232 // ÆüÉÕ¥Õ¥©¡¼¥Þ¥Ã¥È
233 $date_format = 'Y-m-d';
234
235 // »þ¹ï¥Õ¥©¡¼¥Þ¥Ã¥È
236 $time_format = 'H:i:s';
237
238 // ÍËÆüÇÛÎó
239 $weeklabels = $_msg_week;
240
241 /////////////////////////////////////////////////
242 // RSS ¤Ë½ÐÎϤ¹¤ë¥Ú¡¼¥¸¿ô
243 $rss_max = 15;
244
245 /////////////////////////////////////////////////
246 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¹Ô¤¦
247 $do_backup = 1;
248
249 // ¥Ú¡¼¥¸¤òºï½ü¤·¤¿ºÝ¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤â¤¹¤Ù¤Æºï½ü¤¹¤ë
250 $del_backup = 0;
251
252 // Äê´ü¥Ð¥Ã¥¯¥¢¥Ã¥×¤Î´Ö³Ö¤ò»þ´Ö(hour)¤Ç»ØÄꤷ¤Þ¤¹(0¤Ç¹¹¿·Ëè)
253 $cycle = 6;
254
255 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÎºÇÂçÀ¤Âå¿ô
256 $maxage = 20;
257
258 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÎÀ¤Âå¤ò¶èÀÚ¤ëʸ»úÎó
259 // (Ä̾ï¤Ï¤³¤Î¤Þ¤Þ¤ÇÎɤ¤¤¬¡¢Ê¸¾ÏÃæ¤Ç»È¤ï¤ì¤ë²ÄǽÀ­
260 // ¤¬¤¢¤ì¤Ð¡¢»È¤ï¤ì¤½¤¦¤Ë¤Ê¤¤Ê¸»ú¤òÀßÄꤹ¤ë)
261 $splitter = ">>>>>>>>>>";
262
263 /////////////////////////////////////////////////
264 // ¥Ú¡¼¥¸¤Î¹¹¿·»þ¤Ë¥Ð¥Ã¥¯¥°¥é¥ó¥É¤Ç¼Â¹Ô¤µ¤ì¤ë¥³¥Þ¥ó¥É(mknmz¤Ê¤É)
265 $update_exec = '';
266 //$update_exec = '/usr/bin/mknmz --media-type=text/pukiwiki -O /var/lib/namazu/index/ -L ja -c -K /var/www/wiki/';
267
268 /////////////////////////////////////////////////
269 // HTTP¥ê¥¯¥¨¥¹¥È¤Ë¥×¥í¥­¥·¥µ¡¼¥Ð¤ò»ÈÍѤ¹¤ë
270 $use_proxy = 0;
271
272 // proxy¥µ¡¼¥Ð̾
273 $proxy_host = 'proxy.example.com';
274
275 // ¥Ý¡¼¥ÈÈÖ¹æ
276 $proxy_port = 8080;
277
278 // Basicǧ¾Ú¤ò¹Ô¤¦
279 $need_proxy_auth = 0;
280 $proxy_auth_user = 'username';  // ¥æ¡¼¥¶¡¼Ì¾
281 $proxy_auth_pass = 'password';  // ¥Ñ¥¹¥ï¡¼¥É
282
283 // ¥×¥í¥­¥·¥µ¡¼¥Ð¤ò»ÈÍѤ·¤Ê¤¤¥Û¥¹¥È¤Î¥ê¥¹¥È
284 $no_proxy = array(
285         'localhost',    // localhost
286         '127.0.0.0/8',  // loopback
287 //      '10.0.0.0/8'    // private class A
288 //      '172.16.0.0/12' // private class B
289 //      '192.168.0.0/16'        // private class C
290 //      'no-proxy.com',
291 );
292
293 ////////////////////////////////////////////////
294 // Mail notify
295
296 // ¥Ú¡¼¥¸¤Î¹¹¿·»þ¤Ë¥á¡¼¥ë¤òÁ÷¿®¤¹¤ë
297 $notify = 0;
298 $notify_diff_only = 0;  // º¹Ê¬¤À¤±¤òÁ÷¿®¤¹¤ë¤«
299
300 $notify_to = 'xxx@yyy.zz';      // To:¡Ê°¸Àè¡Ë
301 $notify_from = 'xxx@yyy.zz';    // From:¡ÊÁ÷¤ê¼ç¡Ë
302
303 // Subject:¡Ê·ï̾¡Ë $page¤Ë¥Ú¡¼¥¸Ì¾¤¬Æþ¤ë
304 $notify_subject = '[pukiwiki] $page';
305
306 // Äɲå᡼¥ë¥Ø¥Ã¥À
307 $notify_header = "From: $notify_from\r\nX-Mailer: PukiWiki/" .
308         S_VERSION . ' PHP/' . phpversion();
309
310 /////////////////////////////////////////////////
311 // POP / APOP Before SMTP
312
313 // ¥á¡¼¥ëÁ÷¿®Á°¤ËPOP¤Þ¤¿¤ÏAPOP¤Ë¤è¤ëǧ¾Ú¤ò¹Ô¤¦
314 $smtp_auth = 0;
315
316 // SMTP¥µ¡¼¥Ð (Windows ¤Î¤ß, Ä̾ï¤Ï php.ini ¤Ç»ØÄê)
317 $smtp_server = 'localhost';
318
319 $pop_server = 'localhost';      // POP¥µ¡¼¥Ð
320 $pop_port = 110;        // ¥Ý¡¼¥ÈÈÖ¹æ
321
322 // Ç§¾Ú¤Ë APOP ¤òÍøÍѤ¹¤ë¤«¤É¤¦¤« (¢¨¥µ¡¼¥Ð¦¤ÎÂбþ¤¬É¬Í×)
323 //   Ì¤ÀßÄê = ¼«Æ° (²Äǽ¤Ç¤¢¤ì¤ÐAPOP¤ò»ÈÍѤ¹¤ë)
324 //   1 = APOP¸ÇÄê  (ɬ¤ºAPOP¤ò»ÈÍѤ¹¤ë)
325 //   0 = POP¸ÇÄê   (ɬ¤ºPOP¤ò»ÈÍѤ¹¤ë)
326 // $pop_auth_use_apop = 1;
327
328 $pop_userid = '';       // POP¥æ¡¼¥¶Ì¾
329 $pop_passwd = '';       // POP¥Ñ¥¹¥ï¡¼¥É
330
331 /////////////////////////////////////////////////
332 // °ìÍ÷¡¦¹¹¿·°ìÍ÷¤Ë´Þ¤á¤Ê¤¤¥Ú¡¼¥¸Ì¾(Àµµ¬É½¸½¤Ç)
333 $non_list = '^\:';
334
335 // $non_list¤òʸ»úÎ󸡺÷¤ÎÂоݥڡ¼¥¸¤È¤¹¤ë¤«
336 // 0¤Ë¤¹¤ë¤È¡¢¾åµ­¥Ú¡¼¥¸Ì¾¤¬Ã±¸ì¸¡º÷¤«¤é¤â½ü³°¤µ¤ì¤Þ¤¹¡£
337 $search_non_list = 1;
338
339 /////////////////////////////////////////////////
340 // ¥Ú¡¼¥¸Ì¾¤Ë½¾¤Ã¤Æ¼«Æ°¤Ç¡¢¿÷·Á¤È¤¹¤ë¥Ú¡¼¥¸¤ÎÆɤ߹þ¤ß
341 $auto_template_func = 1;
342 $auto_template_rules = array(
343         '((.+)\/([^\/]+))' => '\2/template'
344 );
345
346 /////////////////////////////////////////////////
347 // ¸«½Ð¤·¹Ô¤Ë¸ÇÍ­¤Î¥¢¥ó¥«¡¼¤ò¼«Æ°ÁÞÆþ¤¹¤ë
348 $fixed_heading_anchor = 0;
349
350 /////////////////////////////////////////////////
351 // <pre>¤Î¹ÔƬ¥¹¥Ú¡¼¥¹¤ò¤Ò¤È¤Ä¼è¤ê½ü¤¯
352 $preformat_ltrim = 0;
353
354 /////////////////////////////////////////////////
355 // ²þ¹Ô¤òÈ¿±Ç¤¹¤ë(²þ¹Ô¤ò<br />¤ËÃÖ´¹¤¹¤ë)
356 $line_break = 0;
357
358 /////////////////////////////////////////////////
359 // ¥æ¡¼¥¶¡¼¥¨¡¼¥¸¥§¥ó¥ÈÂбþÀßÄê
360
361 $agents = array( // pattern: ¥Ç¥Ð¥¤¥¹[¥Ö¥é¥¦¥¶]̾¤ª¤è¤Ó¥Ð¡¼¥¸¥ç¥ó¤Î¸¡½Ð¥Ñ¥¿¡¼¥ó  profile: ½ê°¤¹¤ë¥°¥ë¡¼¥×
362
363     // ÁȤ߹þ¤ß¥Ö¥é¥¦¥¶ (¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È:PukiWiki¤¬¤½¤Î¤Þ¤Þ»È¤¨¤ë¤È¤¤¤¦°ÕÌ£¤Î)
364
365         // "PlayStation BB Navigator" (ACCESS NetFront, for SONY PlayStation 2)
366         // Sample: "Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0"
367         array('pattern'=>'#\bPlayStation\b.*\b(NetFront)/([0-9\.]+)#',  'profile'=>'default'),
368
369     // ÁȤ߹þ¤ß¥Ö¥é¥¦¥¶ (¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È¤Ç¤Ï¤Ê¤¤¤â¤Î)
370
371         // NTT-DoCoMo, i-mode (embeded Compact NetFront) and FOMA (embedded NetFront) phones
372         // Sample: "DoCoMo/1.0/F501i", "DoCoMo/1.0/N504i/c10/TB/serXXXX" // c°Ê¹ß¤Ï²ÄÊÑ
373         // Sample: "DoCoMo/2.0 MST_v_SH2101V(c100;TB;W22H12;serXXXX;iccxxxx)" // ()¤ÎÃæ¤Ï²ÄÊÑ
374         array('pattern'=>'#^(DoCoMo)/([0-9\.]+)#',      'profile'=>'keitai'),
375
376         // Vodafone's embedded browser
377         // Sample: "J-PHONE/2.0/J-T03"  // 2.0¤Ï"¥Ö¥é¥¦¥¶¤Î"¥Ð¡¼¥¸¥ç¥ó
378         // Sample: "J-PHONE/4.0/J-SH51/SNxxxx SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0"
379         array('pattern'=>'#^(J-PHONE)/([0-9\.]+)#',     'profile'=>'keitai'),
380
381         // Openwave(R) Mobile Browser (EZweb, WAP phone, etc)
382         // Sample: "OPWV-SDK/62K UP.Browser/6.2.0.5.136 (GUI) MMP/2.0"
383         array('pattern'=>'#\b(UP\.Browser)/([0-9\.]+)#',        'profile'=>'keitai'),
384
385         // ACCESS "NetFront" / "Compact NetFront" and thier OEM
386         // Sample: "Mozilla/4.0 (PDA; PalmOS/sony/model crdb/Revision:1.1.19) NetFront/3.0" (SONY Clie series)
387         // Sample: "Mozilla/4.0 (PDA; SL-A300/1.0,Embedix/Qtopia/1.1.0) NetFront/3.0" (Sharp Zaurus)
388         // Sample: "Mozilla/3.0 (AveFront/2.6)" ("SUNTAC OnlineStation", USB-Modem for PlayStation 2)
389         // Sample: "Mozilla/3.0(DDIPOCKET;JRC/AH-J3001V,AH-J3002V/1.0/0100/c50)CNF/2.0" (DDI Pocket: AirH" Phone by JRC)
390         array('pattern'=>'#\b(NetFront)/([0-9\.]+)#',   'profile'=>'keitai'),
391         array('pattern'=>'#\b(CNF)/([0-9\.]+)#',        'profile'=>'keitai'),
392         array('pattern'=>'#\b(AveFront)/([0-9\.]+)#',   'profile'=>'keitai'),
393         array('pattern'=>'#\b(AVE-Front)/([0-9\.]+)#',  'profile'=>'keitai'), // The same?
394
395         // Opera, dressing up as other embedded browsers
396         // Sample: "Mozilla/3.0(DDIPOCKET;KYOCERA/AH-K3001V/1.4.1.67.000000/0.1/C100) Opera 7.0" (Like CNF at 'keitai'-mode)
397         array('pattern'=>'#\bDDIPOCKET\b.+\b(Opera) ([0-9\.]+)\b#',     'profile'=>'keitai'),
398
399         // Planetweb http://www.planetweb.com/
400         // Sample: "Mozilla/3.0 (Planetweb/v1.07 Build 141; SPS JP)" ("EGBROWSER", Web browser for PlayStation 2)
401         array('pattern'=>'#\b(Planet[Ww]eb)/[a-z]?([0-9\.]+)#', 'profile'=>'keitai'),
402
403         // DreamPassport, Web browser for SEGA DreamCast
404         // Sample: "Mozilla/3.0 (DreamPassport/3.0)"
405         array('pattern'=>'#\b(DreamPassport)/([0-9\.]+)#',      'profile'=>'keitai'),
406
407         // Palm "Web Pro" http://www.palmone.com/us/support/accessories/webpro/
408         // Sample: "Mozilla/4.76 [en] (PalmOS; U; WebPro)"
409         array('pattern'=>'#\b(WebPro)\b#',      'profile'=>'keitai'),
410
411         // ilinx "Palmscape" / "Xiino" http://www.ilinx.co.jp/
412         // Sample: "Xiino/2.1SJ [ja] (v. 4.1; 153x130; c16/d)"
413         array('pattern'=>'#^(Palmscape)/([0-9\.]+)#',   'profile'=>'keitai'),
414         array('pattern'=>'#^(Xiino)/([0-9\.]+)#',       'profile'=>'keitai'),
415
416         // Sharp PDA Browser (Sharp Zaurus)
417         // Sample: "sharp pda browser/6.1[ja](MI-E1/1.0) "
418         array('pattern'=>'#^(sharp [a-z]+ browser)/([0-9\.]+)#',        'profile'=>'keitai'),
419
420         // Windows CE
421         // Sample: "Mozilla/4.0 (compatible; MSIE 5.5; Windows CE; sigmarion3)" (sigmarion, Hand-held PC)
422         array('pattern'=>'#\b(Windows CE)\b#',  'profile'=>'keitai'),
423
424         // WebTV
425         array('pattern'=>'#^(WebTV)/([0-9\.]+)#',       'profile'=>'keitai'),
426
427     // ¥Ç¥¹¥¯¥È¥Ã¥×¤¢¤ë¤¤¤Ï¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È (¥Ç¥Ð¥¤¥¹¤ò¼±Ê̤¹¤ëɬÍפ¬¤Ê¤¤¤â¤Î)
428         array('pattern'=>'#^#', 'profile'=>'default'),  // default
429
430 );
431 ?>