アットウィキロゴ

index

?php

if (! defined('PKWK_OPTIMISE')) define('PKWK_OPTIMISE', 0);

if (! defined('PKWK_READONLY')) define('PKWK_READONLY', 0); // 0 or 1

if (! defined('PKWK_SAFE_MODE')) define('PKWK_SAFE_MODE', 1);

if (! defined('PKWK_DISABLE_INLINE_IMAGE_FROM_URI')) define('PKWK_DISABLE_INLINE_IMAGE_FROM_URI', 1);

define('PKWK_QUERY_STRING_MAX', 1024); // Bytes, 0 = OFF

define('PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK',0); // 1 = Disabled

define('LANG', 'ja');

define('UI_LANG', LANG); // 'en' for Internationalized wikisite

define('DATA_DIR', DATA_HOME . 'wiki/' ); // Latest wiki texts define('DIFF_DIR', DATA_HOME . 'diff/' ); // Latest diffs define('BACKUP_DIR', DATA_HOME . 'backup/' ); // Backups define('CACHE_DIR', DATA_HOME . 'cache/' ); // Some sort of caches define('UPLOAD_DIR', DATA_HOME . 'attach/' ); // Attached files and logs define('COUNTER_DIR', DATA_HOME . 'counter/' ); // Counter plugin's counts define('TRACKBACK_DIR', DATA_HOME . 'trackback/'); // TrackBack logs define('PLUGIN_DIR', DATA_HOME . 'plugin/' ); // Plugin directory

define('SPAM_FILTER_COND', '#ipcountry() or #urlnsbl() or #useragent() or #filename() or #atag() or #ngreg() or #onlyeng() or (#urlnum() and #uaunknown())');

define('PLUGIN_REF_URL_GET_IMAGE_SIZE', FALSE); define('SPAM_FILTER_ATAG_REG', '/\[HTTP:|<\/a>|\[\/url\]/i');

define('SKIN_DIR', 'skin/');

define('IMAGE_DIR', 'image/');

switch (LANG) { // or specifiy one case 'ja': define('ZONE', 'JST'); define('ZONETIME', 9 * 3600); // JST = GMT + 9 break; default : define('ZONE', 'GMT'); define('ZONETIME', 0); break; }

$page_title = 'Belle Isle Wiki';

$script = 'http://example.com/pukiwiki/';

$script_directory_index = 'index.php';

$modifier = 'MonMon';

$modifierlink = 'http://example.com/pukiwiki/';

$defaultpage = 'Belle Isle Wiki'; // Top / Default page $whatsnew = 'RecentChanges'; // Modified page list $whatsdeleted = 'RecentDeleted'; // Removeed page list $interwiki = 'InterWikiName'; // Set InterWiki definition here $menubar = 'MenuBar'; // Menu

$nofollow = 0; // 1 = Try hiding from search engines

define('PKWK_ALLOW_JAVASCRIPT', 1);

$trackback = 0;

$trackback_javascript = 0;

$enable_bodycache = true;

$enable_bodycache_default = true;

$bodycache_disable_plugins = array( 'ls2', 'areaedit' );

$referer = 0;

$nowikiname = 1;

$autolink = 0; // Bytes, 0 = OFF (try 8)

$function_freeze = 1;

$notimeupdate = 0;

$adminpass = '{x-php-md5}!';

$pagereading_enable = 0;

$pagereading_kanji2kana_converter = 'none';

$pagereading_kanji2kana_encoding = 'EUC'; // Default for Unix

$pagereading_chasen_path = '/usr/local/bin/chasen';

$pagereading_kakasi_path = '/usr/local/bin/kakasi';

$pagereading_config_page = ':config/PageReading';

$pagereading_config_dict = ':config/PageReading/dict';

$auth_users = array( // Username => password 'foo' => 'foo_passwd', // Cleartext 'bar' => '{x-php-md5}f53ae779077e987718cc285b14dfbe86', // PHP md5() 'bar_passwd' 'hoge' => '{SMD5}OzJo/boHwM4q5R+g7LCOx2xGMkFKRVEx', // LDAP SMD5 'hoge_passwd' );

$auth_method_type = 'pagename'; // By Page name

$read_auth = 0;

$read_auth_pages = array( // Regex Username '#HogeHoge#' => 'hoge', '#(NETABARE|NetaBare)#' => 'foo,bar,hoge', );

$edit_auth = 0;

$edit_auth_pages = array( // Regex Username '#BarDiary#' => 'bar', '#HogeHoge#' => 'hoge', '#(NETABARE|NetaBare)#' => 'foo,bar,hoge', );

$search_auth = 0;

$maxshow = 60;

$maxshow_deleted = 60;

$cantedit = array( $whatsnew, $whatsdeleted );

$lastmod = 1;

$date_format = 'Y-m-d';

$time_format = 'H:i:s';

$rss_max = 15;

$do_backup = 1;

$del_backup = 0;

$cycle = 0; // Wait N hours between backup (0 = no wait) $maxage = 50; // Stock latest N backups

define('PKWK_SPLITTER', '>>>>>>>>>>');

define('PKWK_UPDATE_EXEC', '');

$use_proxy = 0;

$proxy_host = 'proxy.example.com'; $proxy_port = 8080;

$need_proxy_auth = 0; $proxy_auth_user = 'username'; $proxy_auth_pass = 'password';

$no_proxy = array( 'localhost', // localhost '127.0.0.0/8', // loopback );

$notify = 0;

$notify_diff_only = 1;

$smtp_server = 'localhost';

$notify_to = '[email protected]'; // To: $notify_from = '[email protected]'; // From:

$notify_subject = '[PukiWiki] $page';

$notify_header = '';

$smtp_auth = 0;

$pop_server = 'localhost'; $pop_port = 110; $pop_userid = ''; $pop_passwd = '';

$non_list = '^\:';

$search_non_list = 1;

$auto_template_func = 1; $auto_template_rules = array( '*1' => '\2/template' );

$fixed_heading_anchor = 1;

$fixed_heading_anchor_edit = 1;

$preformat_ltrim = 1;

$line_break = 0;

$usedatetime = 1;

$agents = array(

   // Embedded browsers (Rich-clients for PukiWiki)

// Windows CE (Microsoft(R) Internet Explorer 5.5 for Windows(R) CE) // Sample: "Mozilla/4.0 (compatible; MSIE 5.5; Windows CE; sigmarion3)" (sigmarion, Hand-held PC) array('pattern'=>'#\b(?:MSIE [5-9]).*\b(Windows CE)\b#', 'profile'=>'default'),

// ACCESS "NetFront" / "Compact NetFront" and thier OEM, expects to be "Mozilla/4.0" // Sample: "Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0" (PlayStation BB Navigator, for SONY PlayStation 2) // 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) array('pattern'=>'#^(?:Mozilla/4).*\b(NetFront)/([0-9\.]+)#', 'profile'=>'default'),

   // Embedded browsers (Non-rich)

// Windows CE (the others) // Sample: "Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; 240x320 )" (GFORT, NTT DoCoMo) array('pattern'=>'#\b(Windows CE)\b#', 'profile'=>'keitai'),

// ACCESS "NetFront" / "Compact NetFront" and thier OEM // 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?

// 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'),

// 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'=>'#\b(?:DDIPOCKET|WILLCOM)\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(Planetweb)/v([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'),

// WebTV array('pattern'=>'#^(WebTV)/([0-9\.]+)#', 'profile'=>'keitai'),

   // Desktop-PC browsers

// Opera (for desktop PC, not embedded) -- See BugTrack/743 for detail // NOTE: Keep this pattern above MSIE and Mozilla // Sample: "Opera/7.0 (OS; U)" (not disguise) // Sample: "Mozilla/4.0 (compatible; MSIE 5.0; OS) Opera 6.0" (disguise) array('pattern'=>'#\b(Opera)[/ ]([0-9\.]+)\b#', 'profile'=>'default'),

// MSIE: Microsoft Internet Explorer (or something disguised as MSIE) // Sample: "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" array('pattern'=>'#\b(MSIE) ([0-9\.]+)\b#', 'profile'=>'default'),

// Mozilla Firefox // NOTE: Keep this pattern above Mozilla // Sample: "Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv:1.7) Gecko/20040803 Firefox/0.9.3" array('pattern'=>'#\b(Firefox)/([0-9\.]+)\b#', 'profile'=>'default'),

   	// Loose default: Including something Mozilla

array('pattern'=>'#^([a-zA-z0-9 ]+)/([0-9\.]+)\b#', 'profile'=>'default'),

array('pattern'=>'#^#', 'profile'=>'default'), // Sentinel ); ?>

最終更新:2010年02月04日 00:40
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。

*1 .+)\/([^\/]+