2: 2009-01-15 (木) 22:50:44 nao-pon | 現: 2009-01-15 (木) 22:50:44 nao-pon | ||
---|---|---|---|
Line 1: | Line 1: | ||
#navi(../) | #navi(../) | ||
- | #datebox | + | #boxdate |
* Ver 4.01.19 (related プラグインの拡張など) [#h8b30b6a] | * Ver 4.01.19 (related プラグインの拡張など) [#h8b30b6a] | ||
Line 32: | Line 32: | ||
#code(php,nonumbar){{ | #code(php,nonumbar){{ | ||
function plugin_search_init () { | function plugin_search_init () { | ||
+ | |||
// Allow search via GET method 'index.php?plugin=search&word=keyword' | // Allow search via GET method 'index.php?plugin=search&word=keyword' | ||
// NOTE: Also allows DoS to your site more easily by SPAMbot or worm or ... | // NOTE: Also allows DoS to your site more easily by SPAMbot or worm or ... | ||
$this->cont['PLUGIN_SEARCH_DISABLE_GET_ACCESS'] = 0; // 1, 0 | $this->cont['PLUGIN_SEARCH_DISABLE_GET_ACCESS'] = 0; // 1, 0 | ||
+ | |||
$this->cont['PLUGIN_SEARCH_MAX_LENGTH'] = 80; | $this->cont['PLUGIN_SEARCH_MAX_LENGTH'] = 80; | ||
$this->cont['PLUGIN_SEARCH_MAX_BASE'] = 16; // #search(1,2,3,...,15,16) | $this->cont['PLUGIN_SEARCH_MAX_BASE'] = 16; // #search(1,2,3,...,15,16) | ||
+ | |||
$this->config['context'] = 'conv'; // ( '': none or 'db': Use database (light) or 'conv': Convert (heavy) ) | $this->config['context'] = 'conv'; // ( '': none or 'db': Use database (light) or 'conv': Convert (heavy) ) | ||
$this->config['resultMax'] = 500; | $this->config['resultMax'] = 500; | ||
+ | |||
// Load Language | // Load Language | ||
$this->load_language(); | $this->load_language(); |
ぺージ情報 | |
---|---|
ぺージ名 : | xpWiki開発日記/2009-01-15 |
ページ別名 : | 未設定 |
ページオーナー : | nao-pon |
閲覧可 | |
グループ : | すべての訪問者 |
ユーザー : | すべての訪問者 |
編集可 | |
グループ : | すべての訪問者 |
ユーザー : | すべての訪問者 |