OSDN Git Service

518eb2c4a559f2c77c399b5dc60f94f0f76e3645
[pukiwiki/pukiwiki.git] / pukiwiki.ini.php
1 <?php
2 /////////////////////////////////////////////////
3 // PukiWiki - Yet another WikiWikiWeb clone.
4 //
5 // $Id: pukiwiki.ini.php,v 1.72 2004/08/08 02:59:44 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 // pagename : ¥Ú¡¼¥¸Ì¾
181 // contents : ¥Ú¡¼¥¸ÆâÍÆ
182 $auth_method_type = "contents";
183
184 /////////////////////////////////////////////////
185 // ±ÜÍ÷ǧ¾Ú¥Õ¥é¥°
186 // 0:ÉÔÍ×
187 // 1:ɬÍ×
188 $read_auth = 0;
189
190 // ±ÜÍ÷ǧ¾ÚÂоݥѥ¿¡¼¥óÄêµÁ
191 $read_auth_pages = array(
192 '/¤Ò¤­¤³¤â¤ë¤Û¤²/' => 'hoge',
193 '/(¥Í¥¿¥Ð¥ì|¤Í¤¿¤Ð¤ì)/' => 'foo,bar,hoge',
194 );
195
196 /////////////////////////////////////////////////
197 // ÊÔ½¸Ç§¾Ú¥Õ¥é¥°
198 // 0:ÉÔÍ×
199 // 1:ɬÍ×
200 $edit_auth = 0;
201
202 // ÊÔ½¸Ç§¾ÚÂоݥѥ¿¡¼¥óÄêµÁ
203 $edit_auth_pages = array(
204 '/Bar¤Î¸ø³«Æüµ­/' => 'bar',
205 '/¤Ò¤­¤³¤â¤ë¤Û¤²/' => 'hoge',
206 '/(¥Í¥¿¥Ð¥ì|¤Í¤¿¤Ð¤ì)/' => 'foo',
207 );
208
209 /////////////////////////////////////////////////
210 // ¸¡º÷ǧ¾Ú¥Õ¥é¥°
211 // 0: ±ÜÍ÷¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ú¡¼¥¸ÆâÍƤ⸡º÷ÂоݤȤ¹¤ë
212 // 1: ¸¡º÷»þ¤Î¥í¥°¥¤¥ó¥æ¡¼¥¶¤Ëµö²Ä¤µ¤ì¤¿¥Ú¡¼¥¸¤Î¤ß¸¡º÷ÂоݤȤ¹¤ë
213 $search_auth = 0;
214
215 /////////////////////////////////////////////////
216 // ¹¹¿·ÍúÎò¤òɽ¼¨¤¹¤ë¤È¤­¤ÎºÇÂç·ï¿ô
217 $maxshow = 80;
218
219 // ºï½üÍúÎò¤ÎºÇÂç·ï¿ô(0¤Çµ­Ï¿¤·¤Ê¤¤)
220 $maxshow_deleted = 0;
221
222 /////////////////////////////////////////////////
223 // ÊÔ½¸¤¹¤ë¤³¤È¤Î¤Ç¤­¤Ê¤¤¥Ú¡¼¥¸¤Î̾Á° , ¤Ç¶èÀÚ¤ë
224 $cantedit = array( $whatsnew, $whatsdeleted );
225
226 /////////////////////////////////////////////////
227 // Last-Modified ¥Ø¥Ã¥À¤ò½ÐÎϤ¹¤ë
228 $lastmod = 0;
229
230 /////////////////////////////////////////////////
231 // ÆüÉÕ¥Õ¥©¡¼¥Þ¥Ã¥È
232 $date_format = 'Y-m-d';
233
234 // »þ¹ï¥Õ¥©¡¼¥Þ¥Ã¥È
235 $time_format = 'H:i:s';
236
237 // ÍËÆüÇÛÎó
238 $weeklabels = $_msg_week;
239
240 /////////////////////////////////////////////////
241 // RSS ¤Ë½ÐÎϤ¹¤ë¥Ú¡¼¥¸¿ô
242 $rss_max = 15;
243
244 /////////////////////////////////////////////////
245 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¹Ô¤¦
246 $do_backup = 1;
247
248 // ¥Ú¡¼¥¸¤òºï½ü¤·¤¿ºÝ¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤â¤¹¤Ù¤Æºï½ü¤¹¤ë
249 $del_backup = 0;
250
251 // Äê´ü¥Ð¥Ã¥¯¥¢¥Ã¥×¤Î´Ö³Ö¤ò»þ´Ö(hour)¤Ç»ØÄꤷ¤Þ¤¹(0¤Ç¹¹¿·Ëè)
252 $cycle = 6;
253
254 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÎºÇÂçÀ¤Âå¿ô
255 $maxage = 20;
256
257 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÎÀ¤Âå¤ò¶èÀÚ¤ëʸ»úÎó
258 // (Ä̾ï¤Ï¤³¤Î¤Þ¤Þ¤ÇÎɤ¤¤¬¡¢Ê¸¾ÏÃæ¤Ç»È¤ï¤ì¤ë²ÄǽÀ­
259 // ¤¬¤¢¤ì¤Ð¡¢»È¤ï¤ì¤½¤¦¤Ë¤Ê¤¤Ê¸»ú¤òÀßÄꤹ¤ë)
260 $splitter = ">>>>>>>>>>";
261
262 /////////////////////////////////////////////////
263 // ¥Ú¡¼¥¸¤Î¹¹¿·»þ¤Ë¥Ð¥Ã¥¯¥°¥é¥ó¥É¤Ç¼Â¹Ô¤µ¤ì¤ë¥³¥Þ¥ó¥É(mknmz¤Ê¤É)
264 $update_exec = '';
265 //$update_exec = '/usr/bin/mknmz --media-type=text/pukiwiki -O /var/lib/namazu/index/ -L ja -c -K /var/www/wiki/';
266
267 /////////////////////////////////////////////////
268 // HTTP¥ê¥¯¥¨¥¹¥È¤Ë¥×¥í¥­¥·¥µ¡¼¥Ð¤ò»ÈÍѤ¹¤ë
269 $use_proxy = 0;
270
271 // proxy¥µ¡¼¥Ð̾
272 $proxy_host = 'proxy.example.com';
273
274 // ¥Ý¡¼¥ÈÈÖ¹æ
275 $proxy_port = 8080;
276
277 // Basicǧ¾Ú¤ò¹Ô¤¦
278 $need_proxy_auth = 0;
279 $proxy_auth_user = 'username';  // ¥æ¡¼¥¶¡¼Ì¾
280 $proxy_auth_pass = 'password';  // ¥Ñ¥¹¥ï¡¼¥É
281
282 // ¥×¥í¥­¥·¥µ¡¼¥Ð¤ò»ÈÍѤ·¤Ê¤¤¥Û¥¹¥È¤Î¥ê¥¹¥È
283 $no_proxy = array(
284 'localhost',        // localhost
285 '127.0.0.0/8',      // loopback
286 // '10.0.0.0/8'     // private class A
287 // '172.16.0.0/12'  // private class B
288 // '192.168.0.0/16' // private class C
289 //'no-proxy.com',
290 );
291
292 ////////////////////////////////////////////////
293 // Mail notify
294
295 // ¥Ú¡¼¥¸¤Î¹¹¿·»þ¤Ë¥á¡¼¥ë¤òÁ÷¿®¤¹¤ë
296 $notify = 0;
297 $notify_diff_only = 0;  // º¹Ê¬¤À¤±¤òÁ÷¿®¤¹¤ë¤«
298
299 $notify_to = 'xxx@yyy.zz';      // To:¡Ê°¸Àè¡Ë
300 $notify_from = 'xxx@yyy.zz';    // From:¡ÊÁ÷¤ê¼ç¡Ë
301
302 // Subject:¡Ê·ï̾¡Ë $page¤Ë¥Ú¡¼¥¸Ì¾¤¬Æþ¤ë
303 $notify_subject = '[pukiwiki] $page';
304
305 // Äɲå᡼¥ë¥Ø¥Ã¥À
306 $notify_header = "From: $notify_from\r\nX-Mailer: PukiWiki/" .
307         S_VERSION . ' PHP/' . phpversion();
308
309 /////////////////////////////////////////////////
310 // POP / APOP Before SMTP
311
312 // ¥á¡¼¥ëÁ÷¿®Á°¤ËPOP¤Þ¤¿¤ÏAPOP¤Ë¤è¤ëǧ¾Ú¤ò¹Ô¤¦
313 $smtp_auth = 0;
314
315 // SMTP¥µ¡¼¥Ð (Windows ¤Î¤ß, Ä̾ï¤Ï php.ini ¤Ç»ØÄê)
316 $smtp_server = 'localhost';
317
318 $pop_server = 'localhost';      // POP¥µ¡¼¥Ð
319 $pop_port = 110;        // ¥Ý¡¼¥ÈÈÖ¹æ
320
321 // Ç§¾Ú¤Ë APOP ¤òÍøÍѤ¹¤ë¤«¤É¤¦¤« (¢¨¥µ¡¼¥Ð¦¤ÎÂбþ¤¬É¬Í×)
322 //   Ì¤ÀßÄê = ¼«Æ° (²Äǽ¤Ç¤¢¤ì¤ÐAPOP¤ò»ÈÍѤ¹¤ë)
323 //   1 = APOP¸ÇÄê  (ɬ¤ºAPOP¤ò»ÈÍѤ¹¤ë)
324 //   0 = POP¸ÇÄê   (ɬ¤ºPOP¤ò»ÈÍѤ¹¤ë)
325 // $pop_auth_use_apop = 1;
326
327 $pop_userid = '';       // POP¥æ¡¼¥¶Ì¾
328 $pop_passwd = '';       // POP¥Ñ¥¹¥ï¡¼¥É
329
330 /////////////////////////////////////////////////
331 // °ìÍ÷¡¦¹¹¿·°ìÍ÷¤Ë´Þ¤á¤Ê¤¤¥Ú¡¼¥¸Ì¾(Àµµ¬É½¸½¤Ç)
332 $non_list = '^\:';
333
334 // $non_list¤òʸ»úÎ󸡺÷¤ÎÂоݥڡ¼¥¸¤È¤¹¤ë¤«
335 // 0¤Ë¤¹¤ë¤È¡¢¾åµ­¥Ú¡¼¥¸Ì¾¤¬Ã±¸ì¸¡º÷¤«¤é¤â½ü³°¤µ¤ì¤Þ¤¹¡£
336 $search_non_list = 1;
337
338 /////////////////////////////////////////////////
339 // ¥Ú¡¼¥¸Ì¾¤Ë½¾¤Ã¤Æ¼«Æ°¤Ç¡¢¿÷·Á¤È¤¹¤ë¥Ú¡¼¥¸¤ÎÆɤ߹þ¤ß
340 $auto_template_func = 1;
341 $auto_template_rules = array(
342 '((.+)\/([^\/]+))' => '\2/template'
343 );
344
345 /////////////////////////////////////////////////
346 // ¸«½Ð¤·¹Ô¤Ë¸ÇÍ­¤Î¥¢¥ó¥«¡¼¤ò¼«Æ°ÁÞÆþ¤¹¤ë
347 $fixed_heading_anchor = 0;
348
349 /////////////////////////////////////////////////
350 // <pre>¤Î¹ÔƬ¥¹¥Ú¡¼¥¹¤ò¤Ò¤È¤Ä¼è¤ê½ü¤¯
351 $preformat_ltrim = 0;
352
353 /////////////////////////////////////////////////
354 // ²þ¹Ô¤òÈ¿±Ç¤¹¤ë(²þ¹Ô¤ò<br />¤ËÃÖ´¹¤¹¤ë)
355 $line_break = 0;
356
357 /////////////////////////////////////////////////
358 // ¥æ¡¼¥¶¡¼¥¨¡¼¥¸¥§¥ó¥ÈÂбþÀßÄê
359
360 $agents = array( // pattern: ¥Ç¥Ð¥¤¥¹[¥Ö¥é¥¦¥¶]̾¤ª¤è¤Ó¥Ð¡¼¥¸¥ç¥ó¤Î¸¡½Ð¥Ñ¥¿¡¼¥ó  profile: ½ê°¤¹¤ë¥°¥ë¡¼¥×
361
362     // ÁȤ߹þ¤ß¥Ö¥é¥¦¥¶ (¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È:PukiWiki¤¬¤½¤Î¤Þ¤Þ»È¤¨¤ë¤È¤¤¤¦°ÕÌ£¤Î)
363
364         // "PlayStation BB Navigator" (ACCESS NetFront, for SONY PlayStation 2)
365         // Sample: "Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0"
366         array('pattern'=>'#\bPlayStation\b.*\b(NetFront)/([0-9\.]+)#',  'profile'=>'default'),
367
368     // ÁȤ߹þ¤ß¥Ö¥é¥¦¥¶ (¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È¤Ç¤Ï¤Ê¤¤¤â¤Î)
369
370         // NTT-DoCoMo, i-mode (embeded Compact NetFront) and FOMA (embedded NetFront) phones
371         // Sample: "DoCoMo/1.0/F501i", "DoCoMo/1.0/N504i/c10/TB/serXXXX" // c°Ê¹ß¤Ï²ÄÊÑ
372         // Sample: "DoCoMo/2.0 MST_v_SH2101V(c100;TB;W22H12;serXXXX;iccxxxx)" // ()¤ÎÃæ¤Ï²ÄÊÑ
373         array('pattern'=>'#^(DoCoMo)/([0-9\.]+)#',      'profile'=>'keitai'),
374
375         // Vodafone's embedded browser
376         // Sample: "J-PHONE/2.0/J-T03"  // 2.0¤Ï"¥Ö¥é¥¦¥¶¤Î"¥Ð¡¼¥¸¥ç¥ó
377         // Sample: "J-PHONE/4.0/J-SH51/SNxxxx SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0"
378         array('pattern'=>'#^(J-PHONE)/([0-9\.]+)#',     'profile'=>'keitai'),
379
380         // Openwave(R) Mobile Browser (EZweb, WAP phone, etc)
381         // Sample: "OPWV-SDK/62K UP.Browser/6.2.0.5.136 (GUI) MMP/2.0"
382         array('pattern'=>'#\b(UP\.Browser)/([0-9\.]+)#',        'profile'=>'keitai'),
383
384         // ACCESS "NetFront" / "Compact NetFront" and thier OEM
385         // Sample: "Mozilla/4.0 (PDA; PalmOS/sony/model crdb/Revision:1.1.19) NetFront/3.0" (SONY Clie series)
386         // Sample: "Mozilla/4.0 (PDA; SL-A300/1.0,Embedix/Qtopia/1.1.0) NetFront/3.0" (Sharp Zaurus)
387         // Sample: "Mozilla/3.0 (AveFront/2.6)" ("SUNTAC OnlineStation", USB-Modem for PlayStation 2)
388         // Sample: "Mozilla/3.0(DDIPOCKET;JRC/AH-J3001V,AH-J3002V/1.0/0100/c50)CNF/2.0" (DDI Pocket: AirH" Phone by JRC)
389         array('pattern'=>'#\b(NetFront)/([0-9\.]+)#',   'profile'=>'keitai'),
390         array('pattern'=>'#\b(CNF)/([0-9\.]+)#',        'profile'=>'keitai'),
391         array('pattern'=>'#\b(AveFront)/([0-9\.]+)#',   'profile'=>'keitai'),
392         array('pattern'=>'#\b(AVE-Front)/([0-9\.]+)#',  'profile'=>'keitai'), // The same?
393
394         // Opera, dressing up as other embedded browsers
395         // Sample: "Mozilla/3.0(DDIPOCKET;KYOCERA/AH-K3001V/1.4.1.67.000000/0.1/C100) Opera 7.0" (Like CNF at 'keitai'-mode)
396         array('pattern'=>'#\bDDIPOCKET\b.+\b(Opera) ([0-9\.]+)\b#',     'profile'=>'keitai'),
397
398         // Planetweb http://www.planetweb.com/
399         // Sample: "Mozilla/3.0 (Planetweb/v1.07 Build 141; SPS JP)" ("EGBROWSER", Web browser for PlayStation 2)
400         array('pattern'=>'#\b(Planet[Ww]eb)/[a-z]?([0-9\.]+)#', 'profile'=>'keitai'),
401
402         // DreamPassport, Web browser for SEGA DreamCast
403         // Sample: "Mozilla/3.0 (DreamPassport/3.0)"
404         array('pattern'=>'#\b(DreamPassport)/([0-9\.]+)#',      'profile'=>'keitai'),
405
406         // Palm "Web Pro" http://www.palmone.com/us/support/accessories/webpro/
407         // Sample: "Mozilla/4.76 [en] (PalmOS; U; WebPro)"
408         array('pattern'=>'#\b(WebPro)\b#',      'profile'=>'keitai'),
409
410         // ilinx "Palmscape" / "Xiino" http://www.ilinx.co.jp/
411         // Sample: "Xiino/2.1SJ [ja] (v. 4.1; 153x130; c16/d)"
412         array('pattern'=>'#^(Palmscape)/([0-9\.]+)#',   'profile'=>'keitai'),
413         array('pattern'=>'#^(Xiino)/([0-9\.]+)#',       'profile'=>'keitai'),
414
415         // Sharp PDA Browser (Sharp Zaurus)
416         // Sample: "sharp pda browser/6.1[ja](MI-E1/1.0) "
417         array('pattern'=>'#^(sharp [a-z]+ browser)/([0-9\.]+)#',        'profile'=>'keitai'),
418
419         // Windows CE
420         // Sample: "Mozilla/4.0 (compatible; MSIE 5.5; Windows CE; sigmarion3)" (sigmarion, Hand-held PC)
421         array('pattern'=>'#\b(Windows CE)\b#',  'profile'=>'keitai'),
422
423         // WebTV
424         array('pattern'=>'#^(WebTV)/([0-9\.]+)#',       'profile'=>'keitai'),
425
426     // ¥Ç¥¹¥¯¥È¥Ã¥×¤¢¤ë¤¤¤Ï¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È (¥Ç¥Ð¥¤¥¹¤ò¼±Ê̤¹¤ëɬÍפ¬¤Ê¤¤¤â¤Î)
427         array('pattern'=>'#^#', 'profile'=>'default'),  // default
428
429 );
430 ?>