X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=pukiwiki.ini.php;h=38c17e72b338779c1d71910fe40868632049d4a1;hb=3d70c10f518fc0e23395cfd4ecd8721e0826eb2f;hp=150c9193f7f15a9826ab63cb796138bec7ad2b36;hpb=a2cc1de61b3028fc0855bb9faea6bfe806488349;p=pukiwiki%2Fpukiwiki.git diff --git a/pukiwiki.ini.php b/pukiwiki.ini.php index 150c919..38c17e7 100644 --- a/pukiwiki.ini.php +++ b/pukiwiki.ini.php @@ -2,71 +2,84 @@ ///////////////////////////////////////////////// // PukiWiki - Yet another WikiWikiWeb clone. // -// $Id: pukiwiki.ini.php,v 1.20 2003/02/03 12:46:56 panda Exp $ +// $Id: pukiwiki.ini.php,v 1.78 2004/08/30 14:29:47 henoheno Exp $ // // PukiWiki setting file ///////////////////////////////////////////////// // ¥Ç¥£¥ì¥¯¥È¥ê»ØÄê ºÇ¸å¤Ë / ¤¬É¬Í× Â°À¤Ï 777 -///////////////////////////////////////////////// -// ¥Ç¡¼¥¿¤Î³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê -define('DATA_DIR','./wiki/'); -///////////////////////////////////////////////// -// º¹Ê¬¥Õ¥¡¥¤¥ë¤Î³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê -define('DIFF_DIR','./diff/'); -///////////////////////////////////////////////// -// ¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë³ÊǼÀè¥Ç¥£¥ì¥¯¥È¥ê -define('BACKUP_DIR','./backup/'); -///////////////////////////////////////////////// -// ¥×¥é¥°¥¤¥ó¥Õ¥¡¥¤¥ë³ÊǼÀè¥Ç¥£¥ì¥¯¥È¥ê -define('PLUGIN_DIR','./plugin/'); -///////////////////////////////////////////////// -// Language -//define('LANG','ja'); +// ¥Ç¡¼¥¿³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê +define('DATA_DIR', DATA_HOME . 'wiki/'); // ºÇ¿·¤Î¥Ç¡¼¥¿ +define('DIFF_DIR', DATA_HOME . 'diff/'); // º¹Ê¬¥Õ¥¡¥¤¥ë +define('BACKUP_DIR', DATA_HOME . 'backup/'); // ¥Ð¥Ã¥¯¥¢¥Ã¥× +define('CACHE_DIR', DATA_HOME . 'cache/'); // ¥¥ã¥Ã¥·¥å +define('UPLOAD_DIR', DATA_HOME . 'attach/'); // źÉÕ¥Õ¥¡¥¤¥ë +define('COUNTER_DIR', DATA_HOME . 'counter/'); // ¥«¥¦¥ó¥¿ +define('TRACKBACK_DIR', DATA_HOME . 'trackback/'); // TrackBack +define('PLUGIN_DIR', DATA_HOME . 'plugin/'); // ¥×¥é¥°¥¤¥ó¥Õ¥¡¥¤¥ë ///////////////////////////////////////////////// -// ¥¹¥¥ó¥Õ¥¡¥¤¥ë¤Î¾ì½ê -define('SKIN_FILE','./skin/pukiwiki.skin.'.LANG.'.php'); +// ¥Ç¥£¥ì¥¯¥È¥ê»ØÄê ºÇ¸å¤Ë / ¤¬É¬Í× +// +// PukiWikiËÜÂΤòWeb¥Ö¥é¥¦¥¶¤«¤é¥¢¥¯¥»¥¹¤Ç¤¤Ê¤¤ +// ¾ì½ê¤ËÀßÃÖ¤¹¤ë¤È¤¤Ï¡¢°Ê²¼¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë +// ¥Õ¥¡¥¤¥ë¤Î°ìÉô¤ò Web¥Ö¥é¥¦¥¶¤«¤é¥¢¥¯¥»¥¹¤Ç¤¤ë +// ¾ì½ê¤ËÀßÃÖ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +// (̵¤¯¤È¤âÆ°ºî¤Ï¤·¤Þ¤¹¤¬¡¢¾¯¡¹Ì£µ¤¤Ê¤¯¤Ê¤ë¤Ç¤·¤ç¤¦) + +// ¥¹¥¥ó/¥¹¥¿¥¤¥ë¥·¡¼¥È¥Õ¥¡¥¤¥ë³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê +define('SKIN_DIR', 'skin/'); +// ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥¹¥¥ó¥Õ¥¡¥¤¥ë (*.php) ¤Ï +// PukiWikiËÜÂΦ(DATA_HOME/SKIN_DIR) ¤ËɬÍפǤ¹¤¬¡¢ +// CSS¥Õ¥¡¥¤¥ë(*.css) ¤ª¤è¤ÓJavaScript¥Õ¥¡¥¤¥ë( *.js) +// ¤ÏWeb¥Ö¥é¥¦¥¶¤«¤é¸«¤¨¤ë¾ì½ê(./SKIN_DIR)¤ËÇÛÃÖ +// ¤·¤Æ²¼¤µ¤¤ + +// ²èÁü¥Õ¥¡¥¤¥ë³ÊǼ¥Ç¥£¥ì¥¯¥È¥ê +define('IMAGE_DIR', 'image/'); +// ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤ÎÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¤Ï +// Web¥Ö¥é¥¦¥¶¤«¤é¸«¤¨¤ë¾ì½ê(./IMAGE_DIR)¤ËÇÛÃÖ +// ¤·¤Æ²¼¤µ¤¤ -///////////////////////////////////////////////// -// ¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÀܳʸ»úÎó -//define('LINK_DB','mysql'); -//define('LINK_DB','pgsql'); -//define('PG_CONNECT_STRING','dbname=pukiwiki host=gateway user=apache'); ///////////////////////////////////////////////// // ¥í¡¼¥«¥ë»þ´Ö define('ZONE','JST'); define('ZONETIME',9 * 3600); // JST = GMT+9 + ///////////////////////////////////////////////// +// ¥Û¡¼¥à¥Ú¡¼¥¸¤Î¥¿¥¤¥È¥ë(½¤Àµ¤·¤Æ¤¯¤À¤µ¤¤) +// * RSS ¤Ë½ÐÎϤ¹¤ë¥Á¥ã¥ó¥Í¥ë̾¤ò·ó¤Í¤ë +$page_title = 'PukiWiki'; + // index.php ¤Ê¤É¤ËÊѹ¹¤·¤¿¾ì¹ç¤Î¥¹¥¯¥ê¥×¥È̾¤ÎÀßÄê // ¤È¤¯¤ËÀßÄꤷ¤Ê¤¯¤Æ¤âÌäÂê¤Ê¤· -//$script = 'http://hogehoge/pukiwiki/'; +//$script = 'http://example.com/pukiwiki/'; + +// ÊÔ½¸¼Ô¤Î̾Á°(½¤Àµ¤·¤Æ¤¯¤À¤µ¤¤) +$modifier = 'anonymous'; + +// ÊÔ½¸¼Ô¤Î¥Û¡¼¥à¥Ú¡¼¥¸(½¤Àµ¤·¤Æ¤¯¤À¤µ¤¤) +$modifierlink = 'http://pukiwiki.example.com/'; + +// ¥Ç¥Õ¥©¥ë¥È¤Î¥Ú¡¼¥¸Ì¾ +$defaultpage = 'FrontPage'; // ¥È¥Ã¥×¥Ú¡¼¥¸ (¥Ú¡¼¥¸¤ò»ØÄꤷ¤Ê¤¤¤È¤) +$whatsnew = 'RecentChanges'; // ¹¹¿·ÍúÎò +$whatsdeleted = 'RecentDeleted'; // ºï½üÍúÎò +$interwiki = 'InterWikiName'; // InterWikiName ¤Î°ìÍ÷¤ò½ñ¤¯¥Ú¡¼¥¸ +$menubar = 'MenuBar'; // ¥á¥Ë¥å¡¼¤È¤·¤Æɽ¼¨¤µ¤»¤ëÆâÍƤò½ñ¤¯¥Ú¡¼¥¸ ///////////////////////////////////////////////// -// ¥È¥Ã¥×¥Ú¡¼¥¸¤Î̾Á° -$defaultpage = 'FrontPage'; -///////////////////////////////////////////////// -// ¹¹¿·ÍúÎò¥Ú¡¼¥¸¤Î̾Á° -$whatsnew = 'RecentChanges'; -///////////////////////////////////////////////// -// InterWikiName¥Ú¡¼¥¸¤Î̾Á° -$interwiki = 'InterWikiName'; -///////////////////////////////////////////////// -// ÊÔ½¸¼Ô¤Î̾Á°(¼«Í³¤ËÊѤ¨¤Æ¤¯¤À¤µ¤¤) -$modifier = 'me'; -///////////////////////////////////////////////// -// ÊÔ½¸¼Ô¤Î¥Û¡¼¥à¥Ú¡¼¥¸(¼«Í³¤ËÊѤ¨¤Æ¤¯¤À¤µ¤¤) -$modifierlink = 'http://change me!/'; +// TrackBackµ¡Ç½¤ò»ÈÍѤ¹¤ë +$trackback = 0; ///////////////////////////////////////////////// -// ¥Û¡¼¥à¥Ú¡¼¥¸¤Î¥¿¥¤¥È¥ë(¼«Í³¤ËÊѤ¨¤Æ¤¯¤À¤µ¤¤) -// RSS ¤Ë½ÐÎϤ¹¤ë¥Á¥ã¥ó¥Í¥ë̾ -$page_title = 'PukiWiki'; +// Refererµ¡Ç½¤ò»ÈÍѤ¹¤ë +$referer = 0; ///////////////////////////////////////////////// -// WikiName¤ò*̵¸ú¤Ë*¤¹¤ë +// WikiName¤ò *̵¸ú¤Ë* ¤¹¤ë $nowikiname = 0; ///////////////////////////////////////////////// @@ -78,72 +91,127 @@ $autolink = 0; ///////////////////////////////////////////////// // Åà·ëµ¡Ç½¤ò͸ú¤Ë¤¹¤ë $function_freeze = 1; + ///////////////////////////////////////////////// -// Åà·ë²ò½üÍѤδÉÍý¼Ô¥Ñ¥¹¥ï¡¼¥É(MD5) -// pukiwiki.php?md5=pass ¤Î¤è¤¦¤ËURL¤ËÆþÎϤ· -// MD5¤Ë¤·¤Æ¤«¤é¤É¤¦¤¾¡£ÌÌÅݤʤé°Ê²¼¤Î¤è¤¦¤Ë¡£ -// $adminpass = md5("pass"); -// °Ê²¼¤Ï pass ¤ÎMD5¥Ñ¥¹¥ï¡¼¥É¤Ë¤Ê¤Ã¤Æ¤Þ¤¹¡£ +// ´ÉÍý¼Ô¥Ñ¥¹¥ï¡¼¥É + +// °Ê²¼¤Ï md5('pass') ¤Î½ÐÎÏ·ë²Ì¤Ç¤¹ $adminpass = '1a1dc91c907325c69271ddf0c944bc72'; +// = Ãí°Õ = +// +// ¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤹ¤ëÊýË¡¤È¤·¤Æ¡¢md5()´Ø¿ô¤ò»È¤¦ÊýË¡¤È¡¢ +// md5()´Ø¿ô¤Î·ë²Ì¤òÊÌÅÓ»»½Ð¤·¤Æ»È¤¦ÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ +// ¤¢¤Ê¤¿¤¬¥³¥ó¥Ô¥å¡¼¥¿¤ÎÁàºî¤Ë½¼Ê¬´·¤ì¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ +// ¸å¼Ô¤ò¤ª´«¤á¤·¤Þ¤¹¡£ +// +// Î㤨¤Ð¥Ñ¥¹¥ï¡¼¥É¤ò¡Öpass¡×¤È¤·¤¿¤¤¾ì¹ç¡¢°Ê²¼¤ÎÍͤ˵½Ò¤¹¤ë +// ¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +// +// $adminpass = md5('pass'); // md5() ´Ø¿ô¤ò»È¤¦ÊýË¡ +// +// ¤¿¤À¤·¡¢¤³¤ÎÊýË¡¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤òÇÁ¤¸«¤ë¤³¤È¤¬¤Ç¤¤ë +// (¤Ç¤¤¿) 狼¤Ë¡¢¥Ñ¥¹¥ï¡¼¥É¤½¤Î¤â¤Î¤òÃΤé¤ì¤ë¹â¤¤´í¸±À¤¬ +// ¤¢¤ê¤Þ¤¹¡£¤³¤Î´í¸±À¤ò²¼¤²¤ë¤¿¤á¤Ë¡¢md5()´Ø¿ô¤Î·ë²Ì¤À¤±¤ò +// µ½Ò¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +// +// md5()´Ø¿ô¤Î·ë²Ì(MD5¥Ï¥Ã¥·¥å)¤Ï0¤«¤é9¤Î¿ô»ú¤È¡¢A¤«¤éF¤Þ¤Ç +// ¤Î±Ñ»ú¤«¤é¤Ê¤ë32ʸ»ú¤Îʸ»úÎó¤Ç¡¢¤³¤Î¾ðÊó¤À¤±¤Ç¤Ï¸µ¤Îʸ»úÎó¤ò +// ¿ä¬¤¹¤ë¤³¤È¤Ïº¤Æñ¤Ç¤¹¡£ +// +// MD5¥Ï¥Ã¥·¥å¤Ï¡¢Linux¤äcygwin¤Ç¤¢¤ì¤Ð +// +// $ echo -n 'pass' | md5sum +// +// ¤ÎÍͤˤ·¤Æ·×»»¤µ¤»¤ë»ö¤¬¤Ç¤¤Þ¤¹¡£('-n' ¥ª¥×¥·¥ç¥ó¤ò˺¤ì¤º¤Ë!) +// FreeBSD¤Ê¤É¤Ç¤Ï md5sum ¤ÎÂå¤ï¤ê¤Ë md5 ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£ +// +// ¤ª´«¤á¤Ç¤¤Þ¤»¤ó¤¬¡¢PukiWiki¤Îmd5¥³¥Þ¥ó¥É¤Ç¤â»»½Ð¤¬²Äǽ¤Ç¤¹¡£ +// +// http://<ÀßÃÖ¤·¤¿¾ì½ê>/pukiwiki.php?md5=pass +// +// ¤³¤ÎURL¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤Ç¡¢»»½Ð·ë²Ì¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤½¤Î +// ¤«¤ï¤ê¡¢¤¢¤Ê¤¿¤¬¥¿¥¤¥×¤·¤¿¥Ñ¥¹¥ï¡¼¥É¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤òή¤ì¡¢ +// ï¤Ë¤Ç¤âÇÁ¤¸«¤¬¤Ç¤¡¢Web¥µ¡¼¥Ð¡¼¤Î¥í¥°¤Ë¤â»Ä¤Ã¤Æ¤·¤Þ¤¦¡¢ +// ¤È¤¤¤Ã¤¿ÍÍ¡¹¤Ê¥ê¥¹¥¯¤òÉ餦²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£¤¢¤Ê¤¿¤¬»È¤Ã¤Æ +// ¤¤¤ë¥³¥ó¥Ô¥å¡¼¥¿¡¢¥µ¡¼¥Ð¡¼¤Þ¤Ç¤Î¥Í¥Ã¥È¥ï¡¼¥¯¡¢¥µ¡¼¥Ð¡¼¤Î +// ¤É¤³¤«¤¬¿®Íê¤Ç¤¤Ê¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢¤³¤ÎÊýË¡¤Ï»È¤ï¤Ê¤¤¤Ç²¼¤µ¤¤¡£ + ///////////////////////////////////////////////// -// ÊÔ½¸»þ¤Ëǧ¾Ú¤¬É¬Í× -$edit_auth = 0; +// 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'; ///////////////////////////////////////////////// -// ÊÔ½¸»þǧ¾Ú¤Î¥¢¥«¥¦¥ó¥È¤È¥Ñ¥¹¥ï¡¼¥É -// ¥æ¡¼¥¶Ì¾¤È¥Ñ¥¹¥ï¡¼¥É¤òµÆþ¡£ -$edit_auth_users = array( - '' => '', +// ¥æ¡¼¥¶ÄêµÁ +$auth_users = array( + 'foo' => 'foo_passwd', + 'bar' => 'bar_passwd', + 'hoge' => 'hoge_passwd', ); -///////////////////////////////////////////////// -// ¹¹¿·ÍúÎò¤òɽ¼¨¤¹¤ë¤È¤¤ÎºÇÂç·ï¿ô -$maxshow = 80; -///////////////////////////////////////////////// -// ÊÔ½¸¤¹¤ë¤³¤È¤Î¤Ç¤¤Ê¤¤¥Ú¡¼¥¸¤Î̾Á° , ¤Ç¶èÀÚ¤ë -$cantedit = array( $whatsnew, ); ///////////////////////////////////////////////// -// ¸¡º÷ʸ»úÎó¤ò¿§Ê¬¤±¤¹¤ë -$search_word_color = 1; -///////////////////////////////////////////////// -// °ìÍ÷¥Ú¡¼¥¸¤ËƬʸ»ú¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¤Ä¤±¤ë -$list_index = 1; +// ǧ¾ÚÊý¼°¼ïÊÌ +// 'pagename' : ¥Ú¡¼¥¸Ì¾ +// 'contents' : ¥Ú¡¼¥¸ÆâÍÆ +$auth_method_type = 'contents'; ///////////////////////////////////////////////// -// ¥ê¥¹¥È¹½Â¤¤Îº¸¥Þ¡¼¥¸¥ó -$_list_left_margin = 0; // ¥ê¥¹¥È¤È²èÌ̺¸Ã¼¤È¤Î´Ö³Ö(px) -$_list_margin = 16; // ¥ê¥¹¥È¤Î³¬Áش֤δֳÖ(px) -$_list_pad_str = ' class="list%d" style="padding-left:%dpx;margin-left:%dpx"'; +// ±ÜÍ÷ǧ¾Ú¥Õ¥é¥° (0:ÉÔÍ× 1:ɬÍ×) +$read_auth = 0; -///////////////////////////////////////////////// -// ¥Æ¥¥¹¥È¥¨¥ê¥¢¤Î¥«¥é¥à¿ô -$cols = 80; -///////////////////////////////////////////////// -// ¥Æ¥¥¹¥È¥¨¥ê¥¢¤Î¹Ô¿ô -$rows = 20; +// ±ÜÍ÷ǧ¾ÚÂоݥѥ¿¡¼¥óÄêµÁ +$read_auth_pages = array( + '/¤Ò¤¤³¤â¤ë¤Û¤²/' => 'hoge', + '/(¥Í¥¿¥Ð¥ì|¤Í¤¿¤Ð¤ì)/' => 'foo,bar,hoge', +); ///////////////////////////////////////////////// -// Â硦¾®¸«½Ð¤·¤«¤éÌܼ¡¤ØÌá¤ë¥ê¥ó¥¯¤Îʸ»ú -$top = $_msg_content_back_to_top; -///////////////////////////////////////////////// -// ´ØÏ¢¥Ú¡¼¥¸É½¼¨¤Î¥Ú¡¼¥¸Ì¾¤Î¶èÀÚ¤êʸ»ú -$related_str = "\n "; -///////////////////////////////////////////////// -// À°·Á¥ë¡¼¥ë¤Ç¤Î´ØÏ¢¥Ú¡¼¥¸É½¼¨¤Î¥Ú¡¼¥¸Ì¾¤Î¶èÀÚ¤êʸ»ú -$rule_related_str = "\n
¤Î¹ÔƬ¥¹¥Ú¡¼¥¹¤ò¤Ò¤È¤Ä¼è¤ê½ü¤¯ +$preformat_ltrim = 1; ///////////////////////////////////////////////// -// ¥æ¡¼¥¶ÄêµÁ¥ë¡¼¥ë(¥³¥ó¥Ð¡¼¥È»þ¤ËÃÖ´¹) -$line_rules = array( -"COLOR\(([^\(\)]*)\){([^}]*)}" => '$2', -"SIZE\(([^\(\)]*)\){([^}]*)}" => '$2', -"COLOR\(([^\(\)]*)\):((?:(?!COLOR\([^\)]+\)\:).)*)" => '$2', -"SIZE\(([^\(\)]*)\):((?:(?!SIZE\([^\)]+\)\:).)*)" => '$2', -"%%%(?!%)((?:(?!%%%).)*)%%%" => '$1', -"%%(?!%)((?:(?!%%).)*)%%" => '$1', -"'''(?!')((?:(?!''').)*)'''" => '$1', -"''(?!')((?:(?!'').)*)''" => '$1', -'&(#[0-9]+|#x[0-9a-f]+|[0-9a-zA-Z]+);' => '&$1;', -"~\r" => '
', /* ¹ÔËö¤Ë¥Á¥ë¥À¤Ï²þ¹Ô */ -'#related' => '#related', -); +// ²þ¹Ô¤òÈ¿±Ç¤¹¤ë(²þ¹Ô¤ò
¤ËÃÖ´¹¤¹¤ë) +$line_break = 0; ///////////////////////////////////////////////// -// ¥Õ¥§¥¤¥¹¥Þ¡¼¥¯ÄêµÁ¥ë¡¼¥ë -// $usefacemark = 1¤Ê¤é¥Õ¥§¥¤¥¹¥Þ¡¼¥¯¤¬ÃÖ´¹¤µ¤ì¤Þ¤¹ -// ʸ¾ÏÆâ¤ËXD¤Ê¤É¤¬Æþ¤Ã¤¿¾ì¹ç¤Ëfacemark¤ËÃÖ´¹¤µ¤ì¤Æ¤·¤Þ¤¦¤Î¤Ç -// ɬÍפΤʤ¤Êý¤Ï $usefacemark¤ò0¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£ -$usefacemark = 1; -$facemark_rules = array( -'\s(\:\))' => '', -'\s(\:D)' => '
', -'\s(\:p)' => '
', -'\s(\:d)' => '
', -'\s(XD)' => '
', -'\s(X\()' => '
', -'\s(;\))' => '
', -'\s(;\()' => '
', -'\s(\:\()' => '
', -'(\:heart\:)' => '
', -'&(smile);' => '
', -'&(bigsmile);' => '
', -'&(huh);' => '
', -'&(oh);' => '
', -'&(wink);' => '
', -'&(sad);' => '
', -'&(heart);' => '
', -); +// ¥æ¡¼¥¶¡¼¥¨¡¼¥¸¥§¥ó¥ÈÂбþÀßÄê +// +// ¥ê¥Ã¥Á¥¯¥é¥¤¥¢¥ó¥È¤òÁ°Äó¤È¤·¤¿¥µ¥¤¥È¤ò¹½ÃÛ¤¹¤ë +// ¤¿¤á¤Ë¡¢·ÈÂÓÅÅÏäʤɤ˰տÞŪ¤ËÈóÂбþ¤È¤·¤¿¤¤¾ì¹ç¡¢ +// ºÇ¸å¤Î¥Ç¥Õ¥©¥ë¥ÈÀßÄê°Ê³°¤Î¹Ô¤òÁ´¤Æºï½ü¤¢¤ë¤¤¤Ï +// ¥³¥á¥ó¥È¥¢¥¦¥È¤·¤Æ²¼¤µ¤¤¡£ +// +// ¥Ç¥¶¥¤¥ó¤ä¥¹¥¿¥¤¥ë¤ò´ÊÁǤÊ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 + +); ?>