2 /////////////////////////////////////////////////
3 // PukiWiki - Yet another WikiWikiWeb clone.
5 // $Id: pukiwiki.ini.php,v 1.68 2004/07/15 13:51:08 henoheno Exp $
7 // PukiWiki setting file
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/');
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/');
45 /////////////////////////////////////////////////
48 define('ZONETIME',9 * 3600); // JST = GMT+9
49 /////////////////////////////////////////////////
50 // index.php ¤Ê¤É¤ËÊѹ¹¤·¤¿¾ì¹ç¤Î¥¹¥¯¥ê¥×¥È̾¤ÎÀßÄê
51 // ¤È¤¯¤ËÀßÄꤷ¤Ê¤¯¤Æ¤âÌäÂê¤Ê¤·
52 //$script = 'http://hogehoge/pukiwiki/';
54 /////////////////////////////////////////////////
56 $defaultpage = 'FrontPage';
57 /////////////////////////////////////////////////
58 // ¹¹¿·ÍúÎò¥Ú¡¼¥¸¤Î̾Á°
59 $whatsnew = 'RecentChanges';
60 /////////////////////////////////////////////////
61 // ºï½üÍúÎò¥Ú¡¼¥¸¤Î̾Á°
62 $whatsdeleted = 'RecentDeleted';
63 /////////////////////////////////////////////////
64 // InterWikiName¥Ú¡¼¥¸¤Î̾Á°
65 $interwiki = 'InterWikiName';
66 /////////////////////////////////////////////////
67 // MenuBar¥Ú¡¼¥¸¤Î̾Á°
69 /////////////////////////////////////////////////
70 // ÊÔ½¸¼Ô¤Î̾Á°(¼«Í³¤ËÊѤ¨¤Æ¤¯¤À¤µ¤¤)
72 /////////////////////////////////////////////////
73 // ÊÔ½¸¼Ô¤Î¥Û¡¼¥à¥Ú¡¼¥¸(¼«Í³¤ËÊѤ¨¤Æ¤¯¤À¤µ¤¤)
74 $modifierlink = 'http://change me!/';
76 /////////////////////////////////////////////////
77 // ¥Û¡¼¥à¥Ú¡¼¥¸¤Î¥¿¥¤¥È¥ë(¼«Í³¤ËÊѤ¨¤Æ¤¯¤À¤µ¤¤)
78 // RSS ¤Ë½ÐÎϤ¹¤ë¥Á¥ã¥ó¥Í¥ë̾
79 $page_title = 'PukiWiki';
81 /////////////////////////////////////////////////
82 // TrackBackµ¡Ç½¤ò»ÈÍѤ¹¤ë
85 /////////////////////////////////////////////////
86 // Refererµ¡Ç½¤ò»ÈÍѤ¹¤ë
89 /////////////////////////////////////////////////
90 // WikiName¤ò*̵¸ú¤Ë*¤¹¤ë
93 /////////////////////////////////////////////////
94 // AutoLink¤ò͸ú¤Ë¤¹¤ë¾ì¹ç¤Ï¡¢AutoLinkÂоݤȤʤë
95 // ¥Ú¡¼¥¸Ì¾¤ÎºÇû¥Ð¥¤¥È¿ô¤ò»ØÄê
96 // AutoLink¤ò̵¸ú¤Ë¤¹¤ë¾ì¹ç¤Ï0
99 /////////////////////////////////////////////////
100 // Åà·ëµ¡Ç½¤ò͸ú¤Ë¤¹¤ë
101 $function_freeze = 1;
103 /////////////////////////////////////////////////
106 // °Ê²¼¤Ï md5('pass') ¤Î½ÐÎÏ·ë²Ì¤Ç¤¹
107 $adminpass = '1a1dc91c907325c69271ddf0c944bc72';
111 // ¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤹ¤ëÊýË¡¤È¤·¤Æ¡¢md5()´Ø¿ô¤ò»È¤¦ÊýË¡¤È¡¢
112 // md5()´Ø¿ô¤Î·ë²Ì¤òÊÌÅÓ»»½Ð¤·¤Æ»È¤¦ÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£
113 // ¤¢¤Ê¤¿¤¬¥³¥ó¥Ô¥å¡¼¥¿¤ÎÁàºî¤Ë½¼Ê¬´·¤ì¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢
114 // ¸å¼Ô¤ò¤ª´«¤á¤·¤Þ¤¹¡£
116 // Î㤨¤Ð¥Ñ¥¹¥ï¡¼¥É¤ò¡Öpass¡×¤È¤·¤¿¤¤¾ì¹ç¡¢°Ê²¼¤ÎÍͤ˵½Ò¤¹¤ë
119 // $adminpass = md5('pass'); // md5() ´Ø¿ô¤ò»È¤¦ÊýË¡
121 // ¤¿¤À¤·¡¢¤³¤ÎÊýË¡¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤òÇÁ¤¸«¤ë¤³¤È¤¬¤Ç¤¤ë
122 // (¤Ç¤¤¿) 狼¤Ë¡¢¥Ñ¥¹¥ï¡¼¥É¤½¤Î¤â¤Î¤òÃΤé¤ì¤ë¹â¤¤´í¸±À¤¬
123 // ¤¢¤ê¤Þ¤¹¡£¤³¤Î´í¸±À¤ò²¼¤²¤ë¤¿¤á¤Ë¡¢MD5´Ø¿ô¤Î·ë²Ì¤À¤±¤ò
124 // µ½Ò¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
126 // MD5´Ø¿ô¤Î·ë²Ì(¥Ï¥Ã¥·¥å)¤Ï0¤«¤é9¤Î¿ô»ú¤È¡¢A¤«¤éF¤Þ¤Ç¤Î±Ñ»ú
127 // ¤«¤é¤Ê¤ë32ʸ»ú¤Îʸ»úÎó¤Ç¡¢¤³¤Î¾ðÊó¤À¤±¤Ç¤Ï¸µ¤Îʸ»úÎó¤ò
128 // ¿ä¬¤¹¤ë¤³¤È¤Ïº¤Æñ¤Ç¤¹¡£
130 // 'pass' ¤ÎMD5¥Ï¥Ã¥·¥å¤ò»»½Ð¤¹¤ë¤Ë¤Ï¡¢Linux¤äcygwin¤Ç¤¢¤ì¤Ð
131 // $ echo -n 'pass' | md5sum
132 // ¤ÎÍͤˤ·¤Æ»»½Ð¤¹¤ë»ö¤¬¤Ç¤¤Þ¤¹¡£('-n' ¥ª¥×¥·¥ç¥ó¤ò˺¤ì¤º¤Ë!)
133 // FreeBSD¤Ê¤É¤Ç¤Ïmd5sum¤ÎÂå¤ï¤ê¤Ëmd5¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£
135 // ¤ª´«¤á¤Ç¤¤Þ¤»¤ó¤¬¡¢PukiWiki¤Îmd5¥³¥Þ¥ó¥É¤Ç¤â»»½Ð¤¬²Äǽ¤Ç¤¹¡£
136 // http://<ÀßÃÖ¤·¤¿¾ì½ê>/pukiwiki.php?md5=pass
137 // ¤³¤ÎURL¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤Ç¡¢»»½Ð·ë²Ì¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤½¤Î
138 // ¤«¤ï¤ê¡¢¤¢¤Ê¤¿¤¬¥¿¥¤¥×¤·¤¿¥Ñ¥¹¥ï¡¼¥É¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤òή¤ì¡¢
139 // ï¤Ë¤Ç¤âÇÁ¤¸«¤¬¤Ç¤¡¢Web¥µ¡¼¥Ð¡¼¤Î¥í¥°¤Ë¤â»Ä¤Ã¤Æ¤·¤Þ¤¦¡¢
140 // ¤È¤¤¤Ã¤¿ÍÍ¡¹¤Ê¥ê¥¹¥¯¤òÉ餦²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£¤¢¤Ê¤¿¤¬»È¤Ã¤Æ
141 // ¤¤¤ë¥³¥ó¥Ô¥å¡¼¥¿¡¢¥µ¡¼¥Ð¡¼¤Þ¤Ç¤Î¥Í¥Ã¥È¥ï¡¼¥¯¡¢¥µ¡¼¥Ð¡¼¤Î
142 // ¤É¤³¤«¤¬¿®Íê¤Ç¤¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢¤³¤ÎÊýË¡¤Ï»È¤ï¤Ê¤¤¤Ç²¼¤µ¤¤¡£
144 /////////////////////////////////////////////////
145 // ChaSen, KAKASI ¤Ë¤è¤ë¡¢¥Ú¡¼¥¸Ì¾¤ÎÆɤߤμèÆÀ (0:̵¸ú,1:͸ú)
146 $pagereading_enable = 0;
147 // ChaSen or KAKASI or none
148 //$pagereading_kanji2kana_converter = 'chasen';
149 //$pagereading_kanji2kana_converter = 'kakasi';
150 $pagereading_kanji2kana_converter = 'none';
151 // ChaSen/KAKASI ¤È¤Î¼õ¤±ÅϤ·¤Ë»È¤¦´Á»ú¥³¡¼¥É (UNIX·Ï¤Ï EUC¡¢Win·Ï¤Ï SJIS ¤¬´ðËÜ)
152 $pagereading_kanji2kana_encoding = 'EUC';
153 //$pagereading_kanji2kana_encoding = 'SJIS';
154 // ChaSen/KAKASI ¤Î¼Â¹Ô¥Õ¥¡¥¤¥ë (³Æ¼«¤Î´Ä¶¤Ë¹ç¤ï¤»¤ÆÀßÄê)
155 $pagereading_chasen_path = '/usr/local/bin/chasen';
156 //$pagereading_chasen_path = 'c:\progra~1\chasen21\chasen.exe';
157 $pagereading_kakasi_path = '/usr/local/bin/kakasi';
158 //$pagereading_kakasi_path = 'c:\kakasi\bin\kakasi.exe';
159 // ¥Ú¡¼¥¸Ì¾Æɤߤò³ÊǼ¤·¤¿¥Ú¡¼¥¸¤Î̾Á°
160 $pagereading_config_page = ':config/PageReading';
161 // converter = none ¤Î¾ì¹ç¤ÎÆɤ߲¾Ì¾¼½ñ
162 $pagereading_config_dict = ':config/PageReading/dict';
164 /////////////////////////////////////////////////
167 'foo' => 'foo_passwd',
168 'bar' => 'bar_passwd',
169 'hoge' => 'hoge_passwd',
171 /////////////////////////////////////////////////
173 // pagename : ¥Ú¡¼¥¸Ì¾
174 // contents : ¥Ú¡¼¥¸ÆâÍÆ
175 $auth_method_type = "contents";
176 /////////////////////////////////////////////////
181 /////////////////////////////////////////////////
182 // ±ÜÍ÷ǧ¾ÚÂоݥѥ¿¡¼¥óÄêµÁ
183 $read_auth_pages = array(
184 '/¤Ò¤¤³¤â¤ë¤Û¤²/' => 'hoge',
185 '/(¥Í¥¿¥Ð¥ì|¤Í¤¿¤Ð¤ì)/' => 'foo,bar,hoge',
187 /////////////////////////////////////////////////
192 /////////////////////////////////////////////////
193 // ÊÔ½¸Ç§¾ÚÂоݥѥ¿¡¼¥óÄêµÁ
194 $edit_auth_pages = array(
195 '/Bar¤Î¸ø³«Æüµ/' => 'bar',
196 '/¤Ò¤¤³¤â¤ë¤Û¤²/' => 'hoge',
197 '/(¥Í¥¿¥Ð¥ì|¤Í¤¿¤Ð¤ì)/' => 'foo',
199 /////////////////////////////////////////////////
201 // 0: ±ÜÍ÷¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ú¡¼¥¸ÆâÍƤ⸡º÷ÂоݤȤ¹¤ë
202 // 1: ¸¡º÷»þ¤Î¥í¥°¥¤¥ó¥æ¡¼¥¶¤Ëµö²Ä¤µ¤ì¤¿¥Ú¡¼¥¸¤Î¤ß¸¡º÷ÂоݤȤ¹¤ë
205 /////////////////////////////////////////////////
206 // ¹¹¿·ÍúÎò¤òɽ¼¨¤¹¤ë¤È¤¤ÎºÇÂç·ï¿ô
208 /////////////////////////////////////////////////
209 // ºï½üÍúÎò¤ÎºÇÂç·ï¿ô(0¤ÇµÏ¿¤·¤Ê¤¤)
210 $maxshow_deleted = 0;
211 /////////////////////////////////////////////////
212 // ÊÔ½¸¤¹¤ë¤³¤È¤Î¤Ç¤¤Ê¤¤¥Ú¡¼¥¸¤Î̾Á° , ¤Ç¶èÀÚ¤ë
213 $cantedit = array( $whatsnew,$whatsdeleted );
215 /////////////////////////////////////////////////
216 // Last-Modified ¥Ø¥Ã¥À¤ò½ÐÎϤ¹¤ë
219 /////////////////////////////////////////////////
221 $date_format = 'Y-m-d';
222 /////////////////////////////////////////////////
224 $time_format = 'H:i:s';
225 /////////////////////////////////////////////////
227 $weeklabels = $_msg_week;
229 /////////////////////////////////////////////////
230 // RSS ¤Ë½ÐÎϤ¹¤ë¥Ú¡¼¥¸¿ô
233 /////////////////////////////////////////////////
234 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¹Ô¤¦
236 /////////////////////////////////////////////////
237 // ¥Ú¡¼¥¸¤òºï½ü¤·¤¿ºÝ¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤â¤¹¤Ù¤Æºï½ü¤¹¤ë
239 /////////////////////////////////////////////////
240 // Äê´ü¥Ð¥Ã¥¯¥¢¥Ã¥×¤Î´Ö³Ö¤ò»þ´Ö(hour)¤Ç»ØÄꤷ¤Þ¤¹(0¤Ç¹¹¿·Ëè)
242 /////////////////////////////////////////////////
243 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÎºÇÂçÀ¤Âå¿ô
245 /////////////////////////////////////////////////
246 // ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÎÀ¤Âå¤ò¶èÀÚ¤ëʸ»úÎó
247 // (Ä̾ï¤Ï¤³¤Î¤Þ¤Þ¤ÇÎɤ¤¤¬¡¢Ê¸¾ÏÃæ¤Ç»È¤ï¤ì¤ë²ÄǽÀ
248 // ¤¬¤¢¤ì¤Ð¡¢»È¤ï¤ì¤½¤¦¤Ë¤Ê¤¤Ê¸»ú¤òÀßÄꤹ¤ë)
249 $splitter = ">>>>>>>>>>";
250 /////////////////////////////////////////////////
251 // ¥Ú¡¼¥¸¤Î¹¹¿·»þ¤Ë¥Ð¥Ã¥¯¥°¥é¥ó¥É¤Ç¼Â¹Ô¤µ¤ì¤ë¥³¥Þ¥ó¥É(mknmz¤Ê¤É)
253 //$update_exec = '/usr/bin/mknmz --media-type=text/pukiwiki -O /var/lib/namazu/index/ -L ja -c -K /var/www/wiki/';
255 /////////////////////////////////////////////////
256 // HTTP¥ê¥¯¥¨¥¹¥È¤Ë¥×¥í¥¥·¥µ¡¼¥Ð¤ò»ÈÍѤ¹¤ë
259 $proxy_host = 'proxy.xxx.yyy.zzz';
262 // proxy¤ÎBasicǧ¾Ú¤¬É¬Íפʾì¹ç¤Ë1
263 $need_proxy_auth = 0;
264 // proxy¤ÎBasicǧ¾ÚÍÑID,PW
265 $proxy_auth_user = 'foo';
266 $proxy_auth_pass = 'foo_password';
267 // ¥×¥í¥¥·¥µ¡¼¥Ð¤ò»ÈÍѤ·¤Ê¤¤¥Û¥¹¥È¤Î¥ê¥¹¥È
269 'localhost', // localhost
270 '127.0.0.0/8', // loopback
271 // '10.0.0.0/8' // private class A
272 // '172.16.0.0/12' // private class B
273 // '192.168.0.0/16' // private class C
277 ////////////////////////////////////////////////
278 // ¥Ú¡¼¥¸¤Î¹¹¿·»þ¤Ë¥á¡¼¥ë¤òÁ÷¿®¤¹¤ë
280 // º¹Ê¬¤À¤±¤òÁ÷¿®¤¹¤ë
281 $notify_diff_only = 0;
283 $notify_to = 'xxx@yyy.zz';
285 $notify_from = 'xxx@yyy.zz';
286 // Subject:¡Ê·ï̾¡Ë $page¤Ë¥Ú¡¼¥¸Ì¾¤¬Æþ¤ë
287 $notify_subject = '[pukiwiki] $page';
289 $notify_header = "From: $notify_from\r\nX-Mailer: PukiWiki/".S_VERSION." PHP/".phpversion();
290 // POP Before SMTP ¤ò¼Â»Ü
292 // SMTP¥µ¡¼¥Ð̾¤ò»ØÄꤹ¤ë (Windows ¤Î¤ß, Ä̾ï¤Ï php.ini ¤Ç»ØÄê)
293 $smtp_server = 'localhost';
294 // POP¥µ¡¼¥Ð̾¤ò»ØÄꤹ¤ë
295 $pop_server = 'localhost';
296 // POP ¤Î¥Ý¡¼¥ÈÈÖ¹æ (Ä̾ï 110)
298 // ǧ¾Ú¤Ë APOP ¤òÍøÍѤ¹¤ë¤«¤É¤¦¤« (APOP ÍøÍÑ»þ¤Ï 1¡¢°Ê³°¤Ï POP3)
299 $pop_auth_use_apop = 0;
305 /////////////////////////////////////////////////
306 // °ìÍ÷¡¦¹¹¿·°ìÍ÷¤Ë´Þ¤á¤Ê¤¤¥Ú¡¼¥¸Ì¾(Àµµ¬É½¸½¤Ç)
309 /////////////////////////////////////////////////
310 // $non_list¤òʸ»úÎ󸡺÷¤ÎÂоݥڡ¼¥¸¤È¤¹¤ë¤«
311 // 0¤Ë¤¹¤ë¤È¡¢¾åµ¥Ú¡¼¥¸Ì¾¤¬Ã±¸ì¸¡º÷¤«¤é¤â½ü³°¤µ¤ì¤Þ¤¹¡£
312 $search_non_list = 1;
314 /////////////////////////////////////////////////
315 // ¥Ú¡¼¥¸Ì¾¤Ë½¾¤Ã¤Æ¼«Æ°¤Ç¡¢¿÷·Á¤È¤¹¤ë¥Ú¡¼¥¸¤ÎÆɤ߹þ¤ß
316 $auto_template_func = 1;
317 $auto_template_rules = array(
318 '((.+)\/([^\/]+))' => '\2/template'
321 /////////////////////////////////////////////////
322 // ¸«½Ð¤·¹Ô¤Ë¸ÇͤΥ¢¥ó¥«¡¼¤ò¼«Æ°ÁÞÆþ¤¹¤ë
323 $fixed_heading_anchor = 0;
324 /////////////////////////////////////////////////
325 // <pre>¤Î¹ÔƬ¥¹¥Ú¡¼¥¹¤ò¤Ò¤È¤Ä¼è¤ê½ü¤¯
326 $preformat_ltrim = 0;
328 /////////////////////////////////////////////////
329 // ²þ¹Ô¤òÈ¿±Ç¤¹¤ë(²þ¹Ô¤ò<br />¤ËÃÖ´¹¤¹¤ë)
332 /////////////////////////////////////////////////
333 // ¥æ¡¼¥¶¡¼¥¨¡¼¥¸¥§¥ó¥ÈÂбþÀßÄê
335 $agents = array( // pattern: ¥Ç¥Ð¥¤¥¹[¥Ö¥é¥¦¥¶]̾¤ª¤è¤Ó¥Ð¡¼¥¸¥ç¥ó¤Î¸¡½Ð¥Ñ¥¿¡¼¥ó profile: ½ê°¤¹¤ë¥°¥ë¡¼¥×
337 // ÁȤ߹þ¤ß¥Ö¥é¥¦¥¶ (¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È:PukiWiki¤¬¤½¤Î¤Þ¤Þ»È¤¨¤ë¤È¤¤¤¦°ÕÌ£¤Î)
339 // "PlayStation BB Navigator" (ACCESS NetFront, for SONY PlayStation 2)
340 // Sample: "Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0"
341 array('pattern'=>'#\bPlayStation\b.*\b(NetFront)/([0-9\.]+)#', 'profile'=>'default'),
343 // ÁȤ߹þ¤ß¥Ö¥é¥¦¥¶ (¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È¤Ç¤Ï¤Ê¤¤¤â¤Î)
345 // NTT-DoCoMo, i-mode (embeded Compact NetFront) and FOMA (embedded NetFront) phones
346 // Sample: "DoCoMo/1.0/F501i", "DoCoMo/1.0/N504i/c10/TB/serXXXX" // c°Ê¹ß¤Ï²ÄÊÑ
347 // Sample: "DoCoMo/2.0 MST_v_SH2101V(c100;TB;W22H12;serXXXX;iccxxxx)" // ()¤ÎÃæ¤Ï²ÄÊÑ
348 array('pattern'=>'#^(DoCoMo)/([0-9\.]+)#', 'profile'=>'keitai'),
350 // Vodafone's embedded browser
351 // Sample: "J-PHONE/2.0/J-T03" // 2.0¤Ï"¥Ö¥é¥¦¥¶¤Î"¥Ð¡¼¥¸¥ç¥ó
352 // Sample: "J-PHONE/4.0/J-SH51/SNxxxx SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0"
353 array('pattern'=>'#^(J-PHONE)/([0-9\.]+)#', 'profile'=>'keitai'),
355 // Openwave(R) Mobile Browser (EZweb, WAP phone, etc)
356 // Sample: "OPWV-SDK/62K UP.Browser/6.2.0.5.136 (GUI) MMP/2.0"
357 array('pattern'=>'#\b(UP\.Browser)/([0-9\.]+)#', 'profile'=>'keitai'),
359 // ACCESS "NetFront" / "Compact NetFront" and thier OEM
360 // Sample: "Mozilla/4.0 (PDA; PalmOS/sony/model crdb/Revision:1.1.19) NetFront/3.0" (SONY Clie series)
361 // Sample: "Mozilla/4.0 (PDA; SL-A300/1.0,Embedix/Qtopia/1.1.0) NetFront/3.0" (Sharp Zaurus)
362 // Sample: "Mozilla/3.0 (AveFront/2.6)" ("SUNTAC OnlineStation", USB-Modem for PlayStation 2)
363 // Sample: "Mozilla/3.0(DDIPOCKET;JRC/AH-J3001V,AH-J3002V/1.0/0100/c50)CNF/2.0" (DDI Pocket: AirH" Phone by JRC)
364 array('pattern'=>'#\b(NetFront)/([0-9\.]+)#', 'profile'=>'keitai'),
365 array('pattern'=>'#\b(CNF)/([0-9\.]+)#', 'profile'=>'keitai'),
366 array('pattern'=>'#\b(AveFront)/([0-9\.]+)#', 'profile'=>'keitai'),
367 array('pattern'=>'#\b(AVE-Front)/([0-9\.]+)#', 'profile'=>'keitai'), // The same?
369 // Opera, dressing up as other embedded browsers
370 // Sample: "Mozilla/3.0(DDIPOCKET;KYOCERA/AH-K3001V/1.4.1.67.000000/0.1/C100) Opera 7.0" (Like CNF at 'keitai'-mode)
371 array('pattern'=>'#\bDDIPOCKET\b.+\b(Opera) ([0-9\.]+)\b#', 'profile'=>'keitai'),
373 // Planetweb http://www.planetweb.com/
374 // Sample: "Mozilla/3.0 (Planetweb/v1.07 Build 141; SPS JP)" ("EGBROWSER", Web browser for PlayStation 2)
375 array('pattern'=>'#\b(Planet[Ww]eb)/[a-z]?([0-9\.]+)#', 'profile'=>'keitai'),
377 // DreamPassport, Web browser for SEGA DreamCast
378 // Sample: "Mozilla/3.0 (DreamPassport/3.0)"
379 array('pattern'=>'#\b(DreamPassport)/([0-9\.]+)#', 'profile'=>'keitai'),
381 // Palm "Web Pro" http://www.palmone.com/us/support/accessories/webpro/
382 // Sample: "Mozilla/4.76 [en] (PalmOS; U; WebPro)"
383 array('pattern'=>'#\b(WebPro)\b#', 'profile'=>'keitai'),
385 // ilinx "Palmscape" / "Xiino" http://www.ilinx.co.jp/
386 // Sample: "Xiino/2.1SJ [ja] (v. 4.1; 153x130; c16/d)"
387 array('pattern'=>'#^(Palmscape)/([0-9\.]+)#', 'profile'=>'keitai'),
388 array('pattern'=>'#^(Xiino)/([0-9\.]+)#', 'profile'=>'keitai'),
390 // Sharp PDA Browser (Sharp Zaurus)
391 // Sample: "sharp pda browser/6.1[ja](MI-E1/1.0) "
392 array('pattern'=>'#^(sharp [a-z]+ browser)/([0-9\.]+)#', 'profile'=>'keitai'),
395 // Sample: "Mozilla/4.0 (compatible; MSIE 5.5; Windows CE; sigmarion3)" (sigmarion, Hand-held PC)
396 array('pattern'=>'#\b(Windows CE)\b#', 'profile'=>'keitai'),
399 array('pattern'=>'#^(WebTV)/([0-9\.]+)#', 'profile'=>'keitai'),
401 // ¥Ç¥¹¥¯¥È¥Ã¥×¤¢¤ë¤¤¤Ï¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È (¥Ç¥Ð¥¤¥¹¤ò¼±Ê̤¹¤ëɬÍפ¬¤Ê¤¤¤â¤Î)
402 array('pattern'=>'#^#', 'profile'=>'default'), // default