X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=pukiwiki.ini.php;h=38c17e72b338779c1d71910fe40868632049d4a1;hb=3d70c10f518fc0e23395cfd4ecd8721e0826eb2f;hp=31c94c54897813dda33cdb6e9bd66035823a739b;hpb=74795739adb89bab3868aa03824ee3bba871ae65;p=pukiwiki%2Fpukiwiki.git diff --git a/pukiwiki.ini.php b/pukiwiki.ini.php index 31c94c5..38c17e7 100644 --- a/pukiwiki.ini.php +++ b/pukiwiki.ini.php @@ -1,389 +1,429 @@ -¢¬'; -///////////////////////////////////////////////// -// ´ØÏ¢¥Ú¡¼¥¸É½¼¨¤Î¥Ú¡¼¥¸Ì¾¤Î¶èÀÚ¤êʸ»ú -$related_str = " "; -///////////////////////////////////////////////// -// À°·Á¥ë¡¼¥ë¤Ç¤Î´ØÏ¢¥Ú¡¼¥¸É½¼¨¤Î¥Ú¡¼¥¸Ì¾¤Î¶èÀÚ¤êʸ»ú -$rule_related_str = "\n
  • "; -///////////////////////////////////////////////// -// ¿åÊ¿Àþ¤Î¥¿¥° -$hr = '
    '; -///////////////////////////////////////////////// -// ʸËö¤ÎÃí¼á¤ÎľÁ°¤Ëɽ¼¨¤¹¤ë¥¿¥° -$note_hr = '
    '; -///////////////////////////////////////////////// -// ´ØÏ¢¤¹¤ë¥ê¥ó¥¯¤ò¾ï¤Ëɽ¼¨¤¹¤ë(Ééô¤¬¤«¤«¤ê¤Þ¤¹) -$related_link = 1; -///////////////////////////////////////////////// -// WikiName,BracketName¤Ë·Ð²á»þ´Ö¤òÉղ乤ë -$show_passage = 1; - -///////////////////////////////////////////////// -// Last-Modified ¥Ø¥Ã¥À¤ò½ÐÎϤ¹¤ë -$lastmod = 0; - -///////////////////////////////////////////////// -// ÆüÉÕ¥Õ¥©¡¼¥Þ¥Ã¥È -$date_format = "Y-m-d"; -///////////////////////////////////////////////// -// »þ¹ï¥Õ¥©¡¼¥Þ¥Ã¥È -$time_format = "H:i:s"; -///////////////////////////////////////////////// -// ÍËÆüÇÛÎó -$weeklabels = array("Æü","·î","²Ð","¿å","ÌÚ","¶â","ÅÚ"); - -///////////////////////////////////////////////// -// RSS ¤Ë½ÐÎϤ¹¤ë¥Ú¡¼¥¸¿ô -$rss_max = 15; - -///////////////////////////////////////////////// -// ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¹Ô¤¦¤«»ØÄꤷ¤Þ¤¹ 0 or 1 -$do_backup = 1; -///////////////////////////////////////////////// -// ¥Ú¡¼¥¸¤òºï½ü¤·¤¿ºÝ¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤â¤¹¤Ù¤Æºï½ü¤¹¤ë -$del_backup = 0; -///////////////////////////////////////////////// -// Äê´ü¥Ð¥Ã¥¯¥¢¥Ã¥×¤Î´Ö³Ö¤ò»þ´Ö(hour)¤Ç»ØÄꤷ¤Þ¤¹(0¤Ç¹¹¿·Ëè) -$cycle = 6; -///////////////////////////////////////////////// -// ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÎºÇÂçÀ¤Âå¿ô¤ò»ØÄꤷ¤Þ¤¹ -$maxage = 20; -///////////////////////////////////////////////// -// ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÎÀ¤Âå¤ò¶èÀÚ¤ëʸ»úÎó¤ò»ØÄꤷ¤Þ¤¹ -// (Ä̾ï¤Ï¤³¤Î¤Þ¤Þ¤ÇÎɤ¤¤¬¡¢Ê¸¾ÏÃæ¤Ç»È¤ï¤ì¤ë²ÄǽÀ­ -// ¤¬¤¢¤ì¤Ð¡¢»È¤ï¤ì¤½¤¦¤Ë¤Ê¤¤Ê¸»ú¤òÀßÄꤹ¤ë) -$splitter = ">>>>>>>>>>"; -///////////////////////////////////////////////// -// ¥Ú¡¼¥¸¤Î¹¹¿·»þ¤Ë¥Ð¥Ã¥¯¥°¥é¥ó¥É¤Ç¼Â¹Ô¤µ¤ì¤ë¥³¥Þ¥ó¥É(mknmz¤Ê¤É) -//$update_exec = '/usr/local/bin/mknmz -O /vhosts/www.factage.com/sng/pukiwiki/nmz -L ja -k -K /vhosts/www.factage.com/sng/pukiwiki/wiki'; - -///////////////////////////////////////////////// -// °ìÍ÷¡¦¹¹¿·°ìÍ÷¤Ë´Þ¤á¤Ê¤¤¥Ú¡¼¥¸Ì¾(Àµµ¬É½¸½¤Ç) -$non_list = "^(\[\[\:)"; - -///////////////////////////////////////////////// -// ¿÷·Á¤È¤¹¤ë¥Ú¡¼¥¸¤ÎÆɤ߹þ¤ß¤òɽ¼¨¤µ¤»¤ë¤« -$load_template_func = 1; - -///////////////////////////////////////////////// -// ¥Ú¡¼¥¸Ì¾¤Ë½¾¤Ã¤Æ¼«Æ°¤Ç¡¢¿÷·Á¤È¤¹¤ë¥Ú¡¼¥¸¤ÎÆɤ߹þ¤ß -$auto_template_func = 1; -$auto_template_rules = array( -'\[\[((.+)\/([^\/]+))\]\]' => '[[\2/template]]' -); - -///////////////////////////////////////////////// -// ¥æ¡¼¥¶ÄêµÁ¥ë¡¼¥ë -// -// Àµµ¬É½¸½¤Çµ­½Ò¤·¤Æ¤¯¤À¤µ¤¤¡£?(){}-*./+\$^|¤Ê¤É -// ¤Ï \? ¤Î¤è¤¦¤Ë¥¯¥©¡¼¥È¤·¤Æ¤¯¤À¤µ¤¤¡£ -// Á°¸å¤Ëɬ¤º / ¤ò´Þ¤á¤Æ¤¯¤À¤µ¤¤¡£¹ÔƬ»ØÄê¤Ï ^ ¤òƬ¤Ë¡£ -// ¹ÔËö»ØÄê¤Ï $ ¤ò¸å¤í¤Ë¡£ -// -///////////////////////////////////////////////// -// ¥æ¡¼¥¶ÄêµÁ¥ë¡¼¥ë(ľÀÜ¥½¡¼¥¹¤òÃÖ´¹) -$str_rules = array( -"now\?" => date($date_format,UTIME)." (".$weeklabels[date("w",UTIME)].") ".date($time_format,UTIME), -"date\?" => date($date_format,UTIME), -"time\?" => date($time_format,UTIME), -); - -///////////////////////////////////////////////// -// ¥æ¡¼¥¶ÄêµÁ¥ë¡¼¥ë(¥³¥ó¥Ð¡¼¥È»þ¤ËÃÖ´¹¡¢Ä¾Àܤ·¤Ê¤¤) -$line_rules = array( -"COLOR\(([^\(\)]*)\):((?:(?!COLOR\([^\)]+\)\:).)*)" => "\\2", -"SIZE\(([^\(\)]*)\):((?:(?!SIZE\([^\)]+\)\:).)*)" => "\\2", -"CENTER:((?:(?!CENTER\:).)*)" => "
    \\1
    ", -"RIGHT:((?:(?!RIGHT\:).)*)" => "
    \\1
    ", -"%%((?:(?!%%).)*)%%" => "\\1", -"'''((?:(?!''').)*)'''" => "\\1", -"''((?:(?!'').)*)''" => "\\1", -"~((?:<\\/[a-zA-Z]+>)*)$" => "
    ", /* ¹ÔËö¤Ë¥Á¥ë¥À¤Ï²þ¹Ô */ -"\s\:\)" => " ", -"\s\:D" => " ", -"\s\:p" => " ", -"\s\:d" => " ", -"\sXD" => " ", -"\sX\(" => " ", -"\s;\)" => " ", -"\s;\(" => " ", -"\s:\(" => " ", -"\:heart\:" => "", -); - -///////////////////////////////////////////////// -// À°·Á¥ë¡¼¥ë¤ÎËÜʸ -$rule_body = ' -

    ¥Æ¥­¥¹¥ÈÀ°·Á¤Î¥ë¡¼¥ë

    - -

    Ä̾ï¤ÏÆþÎϤ·¤¿Ê¸»ú¤¬¤½¤Î¤Þ¤Þ½ÐÎϤµ¤ì¤Þ¤¹¤¬¡¢ -°Ê²¼¤Î¥ë¡¼¥ë¤Ë½¾¤Ã¤Æ¥Æ¥­¥¹¥ÈÀ°·Á¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

    - - -'; - -?> +/pukiwiki.php?md5=pass +// +// ¤³¤ÎURL¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤Ç¡¢»»½Ð·ë²Ì¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤½¤Î +// ¤«¤ï¤ê¡¢¤¢¤Ê¤¿¤¬¥¿¥¤¥×¤·¤¿¥Ñ¥¹¥ï¡¼¥É¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤òή¤ì¡¢ +// ï¤Ë¤Ç¤âÇÁ¤­¸«¤¬¤Ç¤­¡¢Web¥µ¡¼¥Ð¡¼¤Î¥í¥°¤Ë¤â»Ä¤Ã¤Æ¤·¤Þ¤¦¡¢ +// ¤È¤¤¤Ã¤¿ÍÍ¡¹¤Ê¥ê¥¹¥¯¤òÉ餦²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¤¢¤Ê¤¿¤¬»È¤Ã¤Æ +// ¤¤¤ë¥³¥ó¥Ô¥å¡¼¥¿¡¢¥µ¡¼¥Ð¡¼¤Þ¤Ç¤Î¥Í¥Ã¥È¥ï¡¼¥¯¡¢¥µ¡¼¥Ð¡¼¤Î +// ¤É¤³¤«¤¬¿®Íê¤Ç¤­¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢¤³¤ÎÊýË¡¤Ï»È¤ï¤Ê¤¤¤Ç²¼¤µ¤¤¡£ + +///////////////////////////////////////////////// +// ChaSen, KAKASI ¤Ë¤è¤ë¡¢¥Ú¡¼¥¸Ì¾¤ÎÆɤߤμèÆÀ (0:̵¸ú,1:Í­¸ú) +$pagereading_enable = 0; + +// ChaSen('chasen') or KAKASI('kakasi') or None('none') +$pagereading_kanji2kana_converter = 'none'; + +// ChaSen/KAKASI ¤È¤Î¼õ¤±ÅϤ·¤Ë»È¤¦´Á»ú¥³¡¼¥É (UNIX·Ï¤Ï EUC¡¢Win·Ï¤Ï SJIS ¤¬´ðËÜ) +$pagereading_kanji2kana_encoding = 'EUC'; +//$pagereading_kanji2kana_encoding = 'SJIS'; + +// ChaSen/KAKASI ¤Î¼Â¹Ô¥Õ¥¡¥¤¥ë (³Æ¼«¤Î´Ä¶­¤Ë¹ç¤ï¤»¤ÆÀßÄê) +$pagereading_chasen_path = '/usr/local/bin/chasen'; +//$pagereading_chasen_path = 'c:\progra~1\chasen21\chasen.exe'; + +$pagereading_kakasi_path = '/usr/local/bin/kakasi'; +//$pagereading_kakasi_path = 'c:\kakasi\bin\kakasi.exe'; + +// ¥Ú¡¼¥¸Ì¾Æɤߤò³ÊǼ¤·¤¿¥Ú¡¼¥¸¤Î̾Á° +$pagereading_config_page = ':config/PageReading'; + +// converter ='none' ¤Î¾ì¹ç¤ÎÆɤ߲¾Ì¾¼­½ñ +$pagereading_config_dict = ':config/PageReading/dict'; + +///////////////////////////////////////////////// +// ¥æ¡¼¥¶ÄêµÁ +$auth_users = array( + 'foo' => 'foo_passwd', + 'bar' => 'bar_passwd', + 'hoge' => 'hoge_passwd', +); + +///////////////////////////////////////////////// +// ǧ¾ÚÊý¼°¼ïÊÌ +// 'pagename' : ¥Ú¡¼¥¸Ì¾ +// 'contents' : ¥Ú¡¼¥¸ÆâÍÆ +$auth_method_type = 'contents'; + +///////////////////////////////////////////////// +// ±ÜÍ÷ǧ¾Ú¥Õ¥é¥° (0:ÉÔÍ× 1:ɬÍ×) +$read_auth = 0; + +// ±ÜÍ÷ǧ¾ÚÂоݥѥ¿¡¼¥óÄêµÁ +$read_auth_pages = array( + '/¤Ò¤­¤³¤â¤ë¤Û¤²/' => 'hoge', + '/(¥Í¥¿¥Ð¥ì|¤Í¤¿¤Ð¤ì)/' => 'foo,bar,hoge', +); + +///////////////////////////////////////////////// +// ÊÔ½¸Ç§¾Ú¥Õ¥é¥° (0:ÉÔÍ× 1:ɬÍ×) +$edit_auth = 0; + +// ÊÔ½¸Ç§¾ÚÂоݥѥ¿¡¼¥óÄêµÁ +$edit_auth_pages = array( + '/Bar¤Î¸ø³«Æüµ­/' => 'bar', + '/¤Ò¤­¤³¤â¤ë¤Û¤²/' => 'hoge', + '/(¥Í¥¿¥Ð¥ì|¤Í¤¿¤Ð¤ì)/' => 'foo', +); + +///////////////////////////////////////////////// +// ¸¡º÷ǧ¾Ú¥Õ¥é¥° +// 0: ±ÜÍ÷¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ú¡¼¥¸ÆâÍƤ⸡º÷ÂоݤȤ¹¤ë +// 1: ¸¡º÷»þ¤Î¥í¥°¥¤¥ó¥æ¡¼¥¶¤Ëµö²Ä¤µ¤ì¤¿¥Ú¡¼¥¸¤Î¤ß¸¡º÷ÂоݤȤ¹¤ë +$search_auth = 0; + +///////////////////////////////////////////////// +// $whatsnew: ¹¹¿·ÍúÎò¤òɽ¼¨¤¹¤ë¤È¤­¤ÎºÇÂç·ï¿ô +$maxshow = 60; + +// $whatsdeleted: ºï½üÍúÎò¤ÎºÇÂç·ï¿ô(0¤Çµ­Ï¿¤·¤Ê¤¤) +$maxshow_deleted = 60; + +///////////////////////////////////////////////// +// ÊÔ½¸¤¹¤ë¤³¤È¤Î¤Ç¤­¤Ê¤¤¥Ú¡¼¥¸¤Î̾Á° , ¤Ç¶èÀÚ¤ë +$cantedit = array( $whatsnew, $whatsdeleted ); + +///////////////////////////////////////////////// +// Last-Modified ¥Ø¥Ã¥À¤ò½ÐÎϤ¹¤ë +$lastmod = 0; + +///////////////////////////////////////////////// +// ÆüÉÕ¥Õ¥©¡¼¥Þ¥Ã¥È +$date_format = 'Y-m-d'; + +// »þ¹ï¥Õ¥©¡¼¥Þ¥Ã¥È +$time_format = 'H:i:s'; + +// ÍËÆüÇÛÎó +$weeklabels = $_msg_week; + +///////////////////////////////////////////////// +// RSS ¤Ë½ÐÎϤ¹¤ë¥Ú¡¼¥¸¿ô +$rss_max = 15; + +///////////////////////////////////////////////// +// ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¹Ô¤¦ +$do_backup = 1; + +// ¥Ú¡¼¥¸¤òºï½ü¤·¤¿ºÝ¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¤â¤¹¤Ù¤Æºï½ü¤¹¤ë +$del_backup = 0; + +// ¥Ð¥Ã¥¯¥¢¥Ã¥×´Ö³Ö¤ÈÀ¤Âå¿ô +$cycle = 3; // ľÁ°¤Î½¤Àµ¤«¤é²¿»þ´Ö·Ð²á¤·¤Æ¤¤¤¿¤é¥Ð¥Ã¥¯¥¢¥Ã¥×¤¹¤ë¤« (0¤Ç¹¹¿·Ëè) +$maxage = 120; // À¤Âå¿ô + +// NOTE: $cycle x $maxage / 24 = ¥Ç¡¼¥¿¤ò¼º¤¦¤¿¤á¤ËºÇÄã¸ÂɬÍפÊÆü¿ô +// 3 x 120 / 24 = 15 + +// ¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÎÀ¤Âå¤ò¶èÀÚ¤ëʸ»úÎó +$splitter = ">>>>>>>>>>"; + +///////////////////////////////////////////////// +// ¥Ú¡¼¥¸¤Î¹¹¿·»þ¤Ë¥Ð¥Ã¥¯¥°¥é¥ó¥É¤Ç¼Â¹Ô¤¹¤ë¥³¥Þ¥ó¥É(mknmz¤Ê¤É) +$update_exec = ''; +//$update_exec = '/usr/bin/mknmz --media-type=text/pukiwiki -O /var/lib/namazu/index/ -L ja -c -K /var/www/wiki/'; + +///////////////////////////////////////////////// +// HTTP¥ê¥¯¥¨¥¹¥È¤Ë¥×¥í¥­¥·¥µ¡¼¥Ð¤ò»ÈÍѤ¹¤ë +$use_proxy = 0; + +$proxy_host = 'proxy.example.com'; // proxy¥µ¡¼¥Ð̾ +$proxy_port = 8080; // ¥Ý¡¼¥ÈÈÖ¹æ + +// Basicǧ¾Ú¤ò¹Ô¤¦ +$need_proxy_auth = 0; +$proxy_auth_user = 'username'; // ¥æ¡¼¥¶¡¼Ì¾ +$proxy_auth_pass = 'password'; // ¥Ñ¥¹¥ï¡¼¥É + +// ¥×¥í¥­¥·¥µ¡¼¥Ð¤ò»ÈÍѤ·¤Ê¤¤¥Û¥¹¥È¤Î¥ê¥¹¥È +$no_proxy = array( + 'localhost', // localhost + '127.0.0.0/8', // loopback +// '10.0.0.0/8' // private class A +// '172.16.0.0/12' // private class B +// '192.168.0.0/16' // private class C +// 'no-proxy.com', +); + +//////////////////////////////////////////////// +// Mail notify + +// ¥Ú¡¼¥¸¤Î¹¹¿·»þ¤Ë¥á¡¼¥ë¤òÁ÷¿®¤¹¤ë +$notify = 0; +$notify_diff_only = 0; // º¹Ê¬¤À¤±¤òÁ÷¿®¤¹¤ë¤« + +$notify_to = 'xxx@yyy.zz'; // To:¡Ê°¸Àè¡Ë +$notify_from = 'xxx@yyy.zz'; // From:¡ÊÁ÷¤ê¼ç¡Ë + +// Subject:¡Ê·ï̾¡Ë $page¤Ë¥Ú¡¼¥¸Ì¾¤¬Æþ¤ë +$notify_subject = '[pukiwiki] $page'; + +// Äɲå᡼¥ë¥Ø¥Ã¥À +$notify_header = "From: $notify_from\r\nX-Mailer: PukiWiki/" . + S_VERSION . ' PHP/' . phpversion(); + +///////////////////////////////////////////////// +// POP / APOP Before SMTP + +// ¥á¡¼¥ëÁ÷¿®Á°¤ËPOP¤Þ¤¿¤ÏAPOP¤Ë¤è¤ëǧ¾Ú¤ò¹Ô¤¦ +$smtp_auth = 0; + +// SMTP¥µ¡¼¥Ð (Windows ¤Î¤ß, Ä̾ï¤Ï php.ini ¤Ç»ØÄê) +$smtp_server = 'localhost'; + +$pop_server = 'localhost'; // POP¥µ¡¼¥Ð +$pop_port = 110; // ¥Ý¡¼¥ÈÈÖ¹æ + +// ǧ¾Ú¤Ë APOP ¤òÍøÍѤ¹¤ë¤«¤É¤¦¤« (¢¨¥µ¡¼¥Ð¦¤ÎÂбþ¤¬É¬Í×) +// ̤ÀßÄê = ¼«Æ° (²Äǽ¤Ç¤¢¤ì¤ÐAPOP¤ò»ÈÍѤ¹¤ë) +// 1 = APOP¸ÇÄê (ɬ¤ºAPOP¤ò»ÈÍѤ¹¤ë) +// 0 = POP¸ÇÄê (ɬ¤ºPOP¤ò»ÈÍѤ¹¤ë) +// $pop_auth_use_apop = 1; + +$pop_userid = ''; // POP¥æ¡¼¥¶Ì¾ +$pop_passwd = ''; // POP¥Ñ¥¹¥ï¡¼¥É + +///////////////////////////////////////////////// +// °ìÍ÷¡¦¹¹¿·°ìÍ÷¤Ë´Þ¤á¤Ê¤¤¥Ú¡¼¥¸Ì¾(Àµµ¬É½¸½¤Ç) +$non_list = '^\:'; + +// $non_list¤òʸ»úÎ󸡺÷¤ÎÂоݥڡ¼¥¸¤È¤¹¤ë¤« +// 0¤Ë¤¹¤ë¤È¡¢¾åµ­¥Ú¡¼¥¸Ì¾¤¬Ã±¸ì¸¡º÷¤«¤é¤â½ü³°¤µ¤ì¤Þ¤¹¡£ +$search_non_list = 1; + +///////////////////////////////////////////////// +// ¥Ú¡¼¥¸Ì¾¤Ë½¾¤Ã¤Æ¼«Æ°¤Ç¡¢¿÷·Á¤È¤¹¤ë¥Ú¡¼¥¸¤ÎÆɤ߹þ¤ß +$auto_template_func = 1; +$auto_template_rules = array( + '((.+)\/([^\/]+))' => '\2/template' +); + +///////////////////////////////////////////////// +// ¸«½Ð¤·¹Ô¤Ë¸ÇÍ­¤Î¥¢¥ó¥«¡¼¤ò¼«Æ°ÁÞÆþ¤¹¤ë +$fixed_heading_anchor = 1; + +///////////////////////////////////////////////// +//
    ¤Î¹ÔƬ¥¹¥Ú¡¼¥¹¤ò¤Ò¤È¤Ä¼è¤ê½ü¤¯
    +$preformat_ltrim = 1;
    +
    +/////////////////////////////////////////////////
    +// ²þ¹Ô¤òÈ¿±Ç¤¹¤ë(²þ¹Ô¤ò
    ¤ËÃÖ´¹¤¹¤ë) +$line_break = 0; + +///////////////////////////////////////////////// +// ¥æ¡¼¥¶¡¼¥¨¡¼¥¸¥§¥ó¥ÈÂбþÀßÄê +// +// ¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È¤òÁ°Äó¤È¤·¤¿¥µ¥¤¥È¤ò¹½ÃÛ¤¹¤ë +// ¤¿¤á¤Ë¡¢·ÈÂÓÅÅÏäʤɤ˰տÞŪ¤ËÈóÂбþ¤È¤·¤¿¤¤¾ì¹ç¡¢ +// ºÇ¸å¤Î¥Ç¥Õ¥©¥ë¥ÈÀßÄê°Ê³°¤Î¹Ô¤òÁ´¤Æºï½ü¤¢¤ë¤¤¤Ï +// ¥³¥á¥ó¥È¥¢¥¦¥È¤·¤Æ²¼¤µ¤¤¡£ +// +// ¥Ç¥¶¥¤¥ó¤ä¥¹¥¿¥¤¥ë¤ò´ÊÁǤÊkeitai¥×¥í¥Õ¥¡¥¤¥ë¤Ë +// Åý°ì¤·¤¿¤¤»þ¤Ï¡¢¥Ç¥Õ¥©¥ë¥ÈÀßÄê°Ê³°¤Î¹Ô¤òÁ´¤Æºï½ü +// ¤¢¤ë¤¤¤Ï¥³¥á¥ó¥È¥¢¥¦¥È¤·¤¿¸å¤Ë¡¢¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤ò +// 'profile'=>'keitai' ¤È½¤Àµ¤·¤Æ²¼¤µ¤¤¡£ + +$agents = array( +// pattern: ¥Ç¥Ð¥¤¥¹[¥Ö¥é¥¦¥¶]̾¤ª¤è¤Ó¥Ð¡¼¥¸¥ç¥ó¤Î¸¡½Ð¥Ñ¥¿¡¼¥ó profile: ½ê°¤¹¤ë¥°¥ë¡¼¥× + + // ÁȤ߹þ¤ß¥Ö¥é¥¦¥¶ (¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È:PukiWiki¤¬¤½¤Î¤Þ¤Þ»È¤¨¤ë¤È¤¤¤¦°ÕÌ£¤Î) + + // "PlayStation BB Navigator" (ACCESS NetFront, for SONY PlayStation 2) + // Sample: "Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0" + array('pattern'=>'#\bPlayStation\b.*\b(NetFront)/([0-9\.]+)#', 'profile'=>'default'), + + // ÁȤ߹þ¤ß¥Ö¥é¥¦¥¶ (¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È¤Ç¤Ï¤Ê¤¤¤â¤Î) + + // NTT-DoCoMo, i-mode (embeded Compact NetFront) and FOMA (embedded NetFront) phones + // Sample: "DoCoMo/1.0/F501i", "DoCoMo/1.0/N504i/c10/TB/serXXXX" // c°Ê¹ß¤Ï²ÄÊÑ + // Sample: "DoCoMo/2.0 MST_v_SH2101V(c100;TB;W22H12;serXXXX;iccxxxx)" // ()¤ÎÃæ¤Ï²ÄÊÑ + array('pattern'=>'#^(DoCoMo)/([0-9\.]+)#', 'profile'=>'keitai'), + + // Vodafone's embedded browser + // Sample: "J-PHONE/2.0/J-T03" // 2.0¤Ï"¥Ö¥é¥¦¥¶¤Î"¥Ð¡¼¥¸¥ç¥ó + // Sample: "J-PHONE/4.0/J-SH51/SNxxxx SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0" + array('pattern'=>'#^(J-PHONE)/([0-9\.]+)#', 'profile'=>'keitai'), + + // Openwave(R) Mobile Browser (EZweb, WAP phone, etc) + // Sample: "OPWV-SDK/62K UP.Browser/6.2.0.5.136 (GUI) MMP/2.0" + array('pattern'=>'#\b(UP\.Browser)/([0-9\.]+)#', 'profile'=>'keitai'), + + // ACCESS "NetFront" / "Compact NetFront" and thier OEM + // Sample: "Mozilla/4.0 (PDA; PalmOS/sony/model crdb/Revision:1.1.19) NetFront/3.0" (SONY Clie series) + // Sample: "Mozilla/4.0 (PDA; SL-A300/1.0,Embedix/Qtopia/1.1.0) NetFront/3.0" (Sharp Zaurus) + // Sample: "Mozilla/3.0 (AveFront/2.6)" ("SUNTAC OnlineStation", USB-Modem for PlayStation 2) + // Sample: "Mozilla/3.0(DDIPOCKET;JRC/AH-J3001V,AH-J3002V/1.0/0100/c50)CNF/2.0" (DDI Pocket: AirH" Phone by JRC) + array('pattern'=>'#\b(NetFront)/([0-9\.]+)#', 'profile'=>'keitai'), + array('pattern'=>'#\b(CNF)/([0-9\.]+)#', 'profile'=>'keitai'), + array('pattern'=>'#\b(AveFront)/([0-9\.]+)#', 'profile'=>'keitai'), + array('pattern'=>'#\b(AVE-Front)/([0-9\.]+)#', 'profile'=>'keitai'), // The same? + + // Opera, dressing up as other embedded browsers + // Sample: "Mozilla/3.0(DDIPOCKET;KYOCERA/AH-K3001V/1.4.1.67.000000/0.1/C100) Opera 7.0" (Like CNF at 'keitai'-mode) + array('pattern'=>'#\bDDIPOCKET\b.+\b(Opera) ([0-9\.]+)\b#', 'profile'=>'keitai'), + + // Planetweb http://www.planetweb.com/ + // Sample: "Mozilla/3.0 (Planetweb/v1.07 Build 141; SPS JP)" ("EGBROWSER", Web browser for PlayStation 2) + array('pattern'=>'#\b(Planet[Ww]eb)/[a-z]?([0-9\.]+)#', 'profile'=>'keitai'), + + // DreamPassport, Web browser for SEGA DreamCast + // Sample: "Mozilla/3.0 (DreamPassport/3.0)" + array('pattern'=>'#\b(DreamPassport)/([0-9\.]+)#', 'profile'=>'keitai'), + + // Palm "Web Pro" http://www.palmone.com/us/support/accessories/webpro/ + // Sample: "Mozilla/4.76 [en] (PalmOS; U; WebPro)" + array('pattern'=>'#\b(WebPro)\b#', 'profile'=>'keitai'), + + // ilinx "Palmscape" / "Xiino" http://www.ilinx.co.jp/ + // Sample: "Xiino/2.1SJ [ja] (v. 4.1; 153x130; c16/d)" + array('pattern'=>'#^(Palmscape)/([0-9\.]+)#', 'profile'=>'keitai'), + array('pattern'=>'#^(Xiino)/([0-9\.]+)#', 'profile'=>'keitai'), + + // Sharp PDA Browser (Sharp Zaurus) + // Sample: "sharp pda browser/6.1[ja](MI-E1/1.0) " + array('pattern'=>'#^(sharp [a-z]+ browser)/([0-9\.]+)#', 'profile'=>'keitai'), + + // Windows CE + // Sample: "Mozilla/4.0 (compatible; MSIE 5.5; Windows CE; sigmarion3)" (sigmarion, Hand-held PC) + array('pattern'=>'#\b(Windows CE)\b#', 'profile'=>'keitai'), + + // WebTV + array('pattern'=>'#^(WebTV)/([0-9\.]+)#', 'profile'=>'keitai'), + + // ¥Ç¥¹¥¯¥È¥Ã¥×¤¢¤ë¤¤¤Ï¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È (¥Ç¥Ð¥¤¥¹¤ò¼±Ê̤¹¤ëɬÍפ¬¤Ê¤¤¤â¤Î) + + // ¥Ç¥Õ¥©¥ë¥ÈÀßÄê + array('pattern'=>'#^#', 'profile'=>'default'), // default + +); +?>