OSDN Git Service

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