CINXE.COM

zh:config [DokuWiki]

<!DOCTYPE html> <html lang="zh" dir="ltr" class="no-js"> <head> <meta charset="utf-8" /> <title>zh:config [DokuWiki]</title> <meta name="generator" content="DokuWiki"/> <meta name="theme-color" content="#008800"/> <meta name="robots" content="index,follow"/> <meta name="keywords" content="zh,config"/> <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/> <link rel="start" href="/"/> <link rel="contents" href="/zh:config?do=index" title="网站地图"/> <link rel="manifest" href="/lib/exe/manifest.php"/> <link rel="alternate" type="application/rss+xml" title="最近更改" href="/feed.php"/> <link rel="alternate" type="application/rss+xml" title="当前命名空间" href="/feed.php?mode=list&amp;ns=zh"/> <link rel="edit" title="编辑本页" href="/zh:config?do=edit"/> <link rel="alternate" type="text/html" title="纯HTML" href="/_export/xhtml/zh:config"/> <link rel="alternate" type="text/plain" title="Wiki Markup 语言" href="/_export/raw/zh:config"/> <link rel="canonical" href="https://www.dokuwiki.org/zh:config"/> <link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&amp;tseed=f1005bad3d81fc9c803c7f93d32a390e"/> <link rel="alternate" hreflang="en" href="https://www.dokuwiki.org/config"/> <link rel="alternate" hreflang="de" href="https://www.dokuwiki.org/de:config"/> <link rel="alternate" hreflang="es" href="https://www.dokuwiki.org/es:config"/> <link rel="alternate" hreflang="fr" href="https://www.dokuwiki.org/fr:config"/> <link rel="alternate" hreflang="it" href="https://www.dokuwiki.org/it:config"/> <link rel="alternate" hreflang="ja" href="https://www.dokuwiki.org/ja:config"/> <link rel="alternate" hreflang="ko" href="https://www.dokuwiki.org/ko:config"/> <link rel="alternate" hreflang="nl" href="https://www.dokuwiki.org/nl:config"/> <link rel="alternate" hreflang="pl" href="https://www.dokuwiki.org/pl:config"/> <link rel="alternate" hreflang="pt-br" href="https://www.dokuwiki.org/pt-br:config"/> <link rel="alternate" hreflang="ru" href="https://www.dokuwiki.org/ru:config"/> <link rel="alternate" hreflang="zh-tw" href="https://www.dokuwiki.org/zh-tw:config"/> <link rel="alternate" hreflang="x-default" href="https://www.dokuwiki.org/config"/> <script >var NS='zh';var JSINFO = {"plugins":{"edittable":{"default columnwidth":""}},"id":"zh:config","namespace":"zh","ACT":"show","useHeadingNavigation":0,"useHeadingContent":0};(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js" defer="defer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js" defer="defer"></script> <script src="/lib/exe/js.php?t=dokuwiki&amp;tseed=f1005bad3d81fc9c803c7f93d32a390e&amp;lang=zh" defer="defer"></script> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="shortcut icon" href="/lib/tpl/dokuwiki/images/favicon.ico" /> <link rel="apple-touch-icon" href="/lib/tpl/dokuwiki/images/apple-touch-icon.png" /> <meta name="verify-v1" content="OVxl3gsCv2MhZqh1cBQyl0JytWXSwXMjyvwc+4w3WtA=" /> <meta name="google-site-verification" content="YhTVK69hW94ZXUtc2zSLPxTkZKbZIn0zK67mz5WQB-E" /> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83791-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-83791-1', { 'anonymize_ip': true }); </script> </head> <body> <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_show tpl_dokuwiki showSidebar hasSidebar"> <!-- ********** HEADER ********** --> <header id="dokuwiki__header"><div class="pad group"> <div class="headings group"> <ul class="a11y skip"> <li><a href="#dokuwiki__content">跳至内容</a></li> </ul> <h1 class="logo"><a href="/start" accesskey="h" title="主页 [h]"><img src="/lib/tpl/dokuwiki/images/logo.png" width="64" height="64" alt="" /><span>DokuWiki</span></a></h1> <p class="claim">It's better when it's simple</p> </div> <div class="tools group"> <!-- USER TOOLS --> <div id="dokuwiki__usertools"> <h3 class="a11y">用户工具</h3> <ul> <li class="action login"><a href="/zh:config?do=login&amp;sectok=" title="登录" rel="nofollow"><span>登录</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 17.25V14H3v-4h7V6.75L15.25 12 10 17.25M8 2h9a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4h2v4h9V4H8v4H6V4a2 2 0 0 1 2-2z"/></svg></a></li> </ul> </div> <!-- SITE TOOLS --> <div id="dokuwiki__sitetools"> <h3 class="a11y">站点工具</h3> <form action="/start" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8"><input type="hidden" name="do" value="search" /><input type="hidden" name="id" value="zh:config" /><div class="no"><input name="q" type="text" class="edit" title="[F]" accesskey="f" placeholder="搜索" autocomplete="on" id="qsearch__in" value="" /><button value="1" type="submit" title="搜索">搜索</button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> <div class="mobileTools"> <form action="/doku.php" method="get" accept-charset="utf-8"><div class="no"><input type="hidden" name="id" value="zh:config" /><select name="do" class="edit quickselect" title="工具"><option value="">工具</option><optgroup label="页面工具"><option value="edit">编辑本页</option><option value="revisions">过去修订</option><option value="backlink">反向链接</option></optgroup><optgroup label="站点工具"><option value="recent">最近更改</option><option value="media">媒体管理器</option><option value="index">网站地图</option></optgroup><optgroup label="用户工具"><option value="login">登录</option></optgroup></select><button type="submit">&gt;</button></div></form> </div> <ul> <li class="action recent"><a href="/zh:config?do=recent" title="最近更改 [r]" rel="nofollow" accesskey="r">最近更改</a></li><li class="action media"><a href="/zh:config?do=media&amp;ns=zh" title="媒体管理器" rel="nofollow">媒体管理器</a></li><li class="action index"><a href="/zh:config?do=index" title="网站地图 [x]" rel="nofollow" accesskey="x">网站地图</a></li> </ul> </div> </div> <!-- BREADCRUMBS --> <div class="breadcrumbs"> <div class="trace"><span class="bchead">您的足迹:</span> <span class="bcsep">•</span> <span class="curid"><bdi><a href="/zh:config" class="breadcrumbs" title="zh:config">config</a></bdi></span></div> </div> <hr class="a11y" /> </div></header><!-- /header --> <div class="wrapper group"> <!-- ********** ASIDE ********** --> <nav id="dokuwiki__aside" aria-label="侧边栏"><div class="pad aside include group"> <h3 class="toggle">侧边栏</h3> <div class="content"><div class="group"> <div class="notify">翻译跟<a href="/config" class="wikilink1">原始页面</a>比较起来显得有些陈旧,所以可能失效。 查看<a href="/config?do=diff&amp;rev=1666234766" class="wikilink1">更新</a></div><div class="plugin_translation is-dropdown"><span class="title">本页面的其他翻译<sup><a href="/localization" class="wikilink1" title="localization" data-wiki-id="localization">?</a></sup>: </span><ul><li class="a"><a class="wikilink1" title="English" href="/config">English (en)</a></li><li class="a"><a class="wikilink2" title="|العربية" href="/ar:config">|العربية (ar)</a></li><li class="a"><a class="wikilink2" title="Català" href="/ca:config">Català (ca)</a></li><li class="a"><a class="wikilink2" title="Česky" href="/cs:config">Česky (cs)</a></li><li class="a"><a class="wikilink2" title="Dansk" href="/da:config">Dansk (da)</a></li><li class="a"><a class="wikilink1" title="Deutsch" href="/de:config">Deutsch (de)</a></li><li class="a"><a class="wikilink2" title="Ελληνικά" href="/el:config">Ελληνικά (el)</a></li><li class="a"><a class="wikilink2" title="Esperanto" href="/eo:config">Esperanto (eo)</a></li><li class="a"><a class="wikilink1" title="Español" href="/es:config">Español (es)</a></li><li class="a"><a class="wikilink2" title="فارسی" href="/fa:config">فارسی (fa)</a></li><li class="a"><a class="wikilink1" title="Français" href="/fr:config">Français (fr)</a></li><li class="a"><a class="wikilink2" title="עברית" href="/he:config">עברית (he)</a></li><li class="a"><a class="wikilink2" title="Magyar" href="/hu:config">Magyar (hu)</a></li><li class="a"><a class="wikilink1" title="Italiano" href="/it:config">Italiano (it)</a></li><li class="a"><a class="wikilink1" title="日本語" href="/ja:config">日本語 (ja)</a></li><li class="a"><a class="wikilink1" title="한국어" href="/ko:config">한국어 (ko)</a></li><li class="a"><a class="wikilink2" title="Lietuvių Kalba" href="/lt:config">Lietuvių Kalba (lt)</a></li><li class="a"><a class="wikilink1" title="Nederlands" href="/nl:config">Nederlands (nl)</a></li><li class="a"><a class="wikilink2" title="Norsk" href="/no:config">Norsk (no)</a></li><li class="a"><a class="wikilink1" title="Polski" href="/pl:config">Polski (pl)</a></li><li class="a"><a class="wikilink1" title="Português" href="/pt-br:config">Português (pt-br)</a></li><li class="a"><a class="wikilink2" title="Română" href="/ro:config">Română (ro)</a></li><li class="a"><a class="wikilink1" title="Русский" href="/ru:config">Русский (ru)</a></li><li class="a"><a class="wikilink2" title="Српски Језик" href="/sr:config">Српски Језик (sr)</a></li><li class="a"><a class="wikilink2" title="Svenska" href="/sv:config">Svenska (sv)</a></li><li class="a"><a class="wikilink2" title="ไทย" href="/th:config">ไทย (th)</a></li><li class="a"><a class="wikilink2" title="Українська" href="/uk:config">Українська (uk)</a></li><li class="span"><span class="wikilink1" title="中文">中文 (zh)</span></li><li class="a"><a class="wikilink1" title="繁體中文" href="/zh-tw:config">繁體中文 (zh-tw)</a></li></ul></div> <p> <strong>了解DokuWiki</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/zh:features" class="wikilink1" title="zh:features" data-wiki-id="zh:features">功能</a> &amp; <a href="/blogroll" class="wikilink1" title="blogroll" data-wiki-id="blogroll">评论</a> </div> </li> <li class="level1"><div class="li"> <a href="/zh:install" class="wikilink1" title="zh:install" data-wiki-id="zh:install">安装指南</a></div> </li> <li class="level1"><div class="li"> <a href="/zh:manual" class="wikilink1" title="zh:manual" data-wiki-id="zh:manual">用户手册</a> &amp; <a href="/zh:wiki:syntax" class="wikilink1" title="zh:wiki:syntax" data-wiki-id="zh:wiki:syntax">语法</a></div> </li> <li class="level1"><div class="li"> <a href="/zh:changes" class="wikilink1" title="zh:changes" data-wiki-id="zh:changes">更新说明</a></div> </li> <li class="level1"><div class="li"> <a href="/zh:faq" class="wikilink1" title="zh:faq" data-wiki-id="zh:faq">常见问题</a></div> </li> </ul> <p> <strong>进阶使用</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/zh:extensions" class="wikilink1" title="zh:extensions" data-wiki-id="zh:extensions">扩展</a></div> </li> <li class="level1"><div class="li"> <a href="/zh:development" class="wikilink1" title="zh:development" data-wiki-id="zh:development">开发者手册</a></div> </li> </ul> <p> <strong>商用</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/faq:support" class="wikilink1" title="faq:support" data-wiki-id="faq:support">支持</a></div> </li> <li class="level1"><div class="li"> <a href="/zh:donate" class="wikilink1" title="zh:donate" data-wiki-id="zh:donate">捐助</a></div> </li> </ul> <p> <strong>我们的社区</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/zh:teams:getting_involved" class="wikilink1" title="zh:teams:getting_involved" data-wiki-id="zh:teams:getting_involved">加入我们</a></div> </li> <li class="level1"><div class="li"> <a href="/dokuinstall" class="wikilink1" title="dokuinstall" data-wiki-id="dokuinstall">用户</a></div> </li> <li class="level1"><div class="li"> <a href="http://forum.dokuwiki.org" class="urlextern" title="http://forum.dokuwiki.org">用户论坛</a></div> </li> <li class="level1"><div class="li"> <a href="/zh:mailinglist" class="wikilink1" title="zh:mailinglist" data-wiki-id="zh:mailinglist">开发者邮件列表</a></div> </li> </ul> <hr /> <p> 在<a href="http://www.facebook.com/pages/DokuWiki/52877633616" class="urlextern" title="http://www.facebook.com/pages/DokuWiki/52877633616">Facebook</a>, <a href="http://twitter.com/dokuwiki" class="urlextern" title="http://twitter.com/dokuwiki">Twitter</a> 或其他<a href="/social" class="wikilink1" title="social" data-wiki-id="social">社交网络</a>上关注我们。 </p> <p> <a href="/privacy" class="wikilink1" title="privacy" data-wiki-id="privacy">我们的隐私政策</a> </p> </div></div> </div></nav><!-- /aside --> <!-- ********** CONTENT ********** --> <main id="dokuwiki__content"><div class="pad group"> <div class="pageId"><span>zh:config</span></div> <div class="page group"> <!-- wikipage start --> <!-- TOC START --> <div id="dw__toc" class="dw__toc"> <h3 class="toggle">目录</h3> <div> <ul class="toc"> <li class="level1"><div class="li"><a href="#配置_dokuwiki">配置 DokuWiki</a></div> <ul class="toc"> <li class="level2"><div class="li"><a href="#可配置项目有哪些">可配置项目有哪些</a></div></li> <li class="level2"><div class="li"><a href="#配置文件">配置文件</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#主题配置文件">主题配置文件</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#启用_关闭_插件">启用/关闭 插件</a></div></li> <li class="level2"><div class="li"><a href="#配置选项">配置选项</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#可用选项">可用选项</a></div></li> </ul></li> </ul></li> </ul> </div> </div> <!-- TOC END --> <h1 class="sectionedit1" id="配置_dokuwiki">配置 DokuWiki</h1> <div class="level1"> <p> 许多 DokuWiki 功能可以通过配置不同的选项值来实现,最简单的方法是使用<a href="/plugin:config" class="wikilink1" title="plugin:config" data-wiki-id="plugin:config">配置管理器</a>来修改这些选项值,Wiki 管理员能用自己喜欢的网页浏览器轻松在线更改配置选项。 </p> <p> 请用超级用户身份登录后点击<strong>管理</strong>按钮来启用<a href="/plugin:config" class="wikilink1" title="plugin:config" data-wiki-id="plugin:config">配置管理器</a>。 </p> </div> <div class="secedit editbutton_section editbutton_1"><form class="button btn_secedit" method="post" action="/zh:config"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1676513422" /><input type="hidden" name="summary" value="[配置 DokuWiki] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="配置_dokuwiki" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1-377" /><button type="submit" title="配置 DokuWiki">编辑</button></div></form></div> <h2 class="sectionedit2" id="可配置项目有哪些">可配置项目有哪些</h2> <div class="level2"> <p> DokuWiki 的“系统” 配置是在文件 <code>conf/dokuwiki.php</code> 中,然而这个文件只包含系统“默认”设置。如果想要定制相关项目,你可以通过编辑 <code>conf/local.php</code> 文件来修改相关配置值(如果文件不存在,就创建该文件)。在该文件中修改相关配置值,<a href="#可用选项" title="zh:config ↵" class="wikilink1">可用选项</a>参见下面说明。 </p> <p> 用户账号,(加密)密码和访问控制规则都包含在文件<a href="/zh:acl" class="wikilink1" title="zh:acl" data-wiki-id="zh:acl">users.auth.php 和 acl.auth.php</a>中。 </p> <p> 当通过媒体管理器上传一个新文件时,可能出现 <code>“上传失败。该扩展名不符合要求(被禁止!)”</code>的提示。这是由 <code>conf/mime.conf</code> 文件来控制扩展名的。要想上传新格式文件,需要先在 <a href="/zh:mime" class="wikilink1" title="zh:mime" data-wiki-id="zh:mime">mime.conf</a> 文件中指定。 </p> <p> 当你编辑页面的时候会有自动转换功能。例如生成工具条提示、笑脸表情或者特殊字符等,这些功能都是由 <a href="/zh:abbreviations" class="wikilink1" title="zh:abbreviations" data-wiki-id="zh:abbreviations">acronyms.conf</a>、<a href="/zh:smileys" class="wikilink2" title="zh:smileys" rel="nofollow" data-wiki-id="zh:smileys">smileys.conf</a> 和 <a href="/zh:entities" class="wikilink1" title="zh:entities" data-wiki-id="zh:entities">entities.conf</a> 文件控制的。 </p> </div> <div class="secedit editbutton_section editbutton_2"><form class="button btn_secedit" method="post" action="/zh:config"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1676513422" /><input type="hidden" name="summary" value="[可配置项目有哪些] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="可配置项目有哪些" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="378-1427" /><button type="submit" title="可配置项目有哪些">编辑</button></div></form></div> <h2 class="sectionedit3" id="配置文件">配置文件</h2> <div class="level2"> <p> 所有的配置文件都可以在 <code>./conf</code> 目录中找到,如果通过 Debian package 安装的话,配置文件目录是 <code>/etc/dokuwiki</code> 。 </p> <p> “主体文件” 通常由 DokuWiki 管理, 然而 “本地文件” 必须由维基管理员创建。 </p> <p> 如果可以使用本地文件,你应该尽量使用本地文件而不是修改主体文件以避免升级出现问题。 </p> <div class="table sectionedit4"><table class="inline"> <thead> <tr class="row0"> <th class="col0 leftalign">主体文件 </th><th class="col1 leftalign">本地文件 </th><th class="col2 leftalign">配置类型 </th><th class="col3"> 简介</th> </tr> </thead> <tr class="row1"> <td class="col0 leftalign"> <code>dokuwiki.php</code> </td><td class="col1 leftalign"> <code>local.php</code><br/> <code>local.protected.php</code> </td><td class="col2 leftalign"> 见后面 </td><td class="col3 leftalign"> 常用 Wiki 配置信息 </td> </tr> <tr class="row2"> <td class="col0 leftalign"> <code>acronyms.conf</code> </td><td class="col1 leftalign"> <code>acronyms.local.conf</code> </td><td class="col2 leftalign"> <a href="/zh:abbreviations" class="wikilink1" title="zh:abbreviations" data-wiki-id="zh:abbreviations">简写</a> 自动简写提示 </td><td class="col3"></td> </tr> <tr class="row3"> <td class="col0 leftalign"> <code>entities.conf</code> </td><td class="col1 leftalign"> <code>entities.local.conf</code> </td><td class="col2 leftalign"> <a href="/zh:entities" class="wikilink1" title="zh:entities" data-wiki-id="zh:entities">实体</a> </td><td class="col3 leftalign"> 自动文本转换 </td> </tr> <tr class="row4"> <td class="col0 leftalign"> <code>interwiki.conf</code> </td><td class="col1 leftalign"> <code>interwiki.local.conf</code> </td><td class="col2 leftalign"> <a href="/zh:interwiki" class="wikilink1" title="zh:interwiki" data-wiki-id="zh:interwiki">WIKI 链接</a> </td><td class="col3 leftalign"> 维基间链接简写 </td> </tr> <tr class="row5"> <td class="col0 leftalign"> <code>mime.conf</code> </td><td class="col1 leftalign"> <code>mime.local.conf</code> </td><td class="col2 leftalign"> <a href="/zh:mime" class="wikilink1" title="zh:mime" data-wiki-id="zh:mime">媒体数据类型</a> </td><td class="col3 leftalign"> 上传数据类型设置 </td> </tr> <tr class="row6"> <td class="col0 leftalign"> <code>smileys.conf</code> </td><td class="col1 leftalign"> <code>smileys.local.conf</code> </td><td class="col2 leftalign"> <a href="/zh:smileys" class="wikilink2" title="zh:smileys" rel="nofollow" data-wiki-id="zh:smileys">笑脸</a> </td><td class="col3 leftalign"> 图象转换 </td> </tr> <tr class="row7"> <td class="col0 leftalign"> </td><td class="col1 leftalign"> <code>acl.auth.php</code> </td><td class="col2 leftalign"> 查看<a href="/zh:acl" class="wikilink1" title="zh:acl" data-wiki-id="zh:acl">权限控制</a> </td><td class="col3 leftalign"> 权限控制设置 </td> </tr> <tr class="row8"> <td class="col0 leftalign"> </td><td class="col1 leftalign"> <code>users.auth.php</code> </td><td class="col2 leftalign"> 查看<a href="/zh:acl" class="wikilink1" title="zh:acl" data-wiki-id="zh:acl">权限控制</a> </td><td class="col3 leftalign"> 用户和密码 </td> </tr> <tr class="row9"> <td class="col0 leftalign"> <code>license.php</code> </td><td class="col1 leftalign"> <code>license.local.php</code> </td><td class="col2"> <a href="/config:license" class="wikilink1" title="config:license" data-wiki-id="config:license">授权协议</a></td><td class="col3 leftalign"> 可提供协议清单 </td> </tr> <tr class="row10"> <td class="col0 leftalign"> <code>scheme.conf</code> </td><td class="col1 leftalign"> <code>scheme.local.conf</code> </td><td class="col2 leftalign"> <a href="/zh:urlschemes" class="wikilink2" title="zh:urlschemes" rel="nofollow" data-wiki-id="zh:urlschemes">urlschemes</a> </td><td class="col3 leftalign"> URL链接可识别模式 </td> </tr> <tr class="row11"> <td class="col0 leftalign"> <code>mediameta.php</code> </td><td class="col1 leftalign"> <code>mediameta.local.php</code> </td><td class="col2 leftalign"> <a href="/zh:exif" class="wikilink1" title="zh:exif" data-wiki-id="zh:exif">exif</a> </td><td class="col3 leftalign"> 图像可编辑元数据 </td> </tr> <tr class="row12"> <td class="col0 leftalign"> <code>wordblock.conf</code> </td><td class="col1 leftalign"> <code>wordblock.local.conf</code> </td><td class="col2 leftalign"> <a href="/zh:blacklist" class="wikilink2" title="zh:blacklist" rel="nofollow" data-wiki-id="zh:blacklist">黑名单</a> </td><td class="col3 leftalign"> 垃圾信息黑名单 </td> </tr> <tr class="row13"> <td class="col0 leftalign"> <code>plugins.required.php</code> </td><td class="col1 leftalign"> <code>plugins.local.php</code><br/> <code>plugins.protected.php</code> </td><td class="col2 leftalign"> 查看后面 </td><td class="col3 leftalign"> 启用/关闭插件 </td> </tr> <tr class="row14"> <td class="col0 leftalign"> </td><td class="col1 leftalign"> <code>userscript.js</code> </td><td class="col2 leftalign"> <a href="/devel:javascript" class="wikilink1" title="devel:javascript" data-wiki-id="devel:javascript">javascript</a> </td><td class="col3 leftalign"> 定制 JavaScript 增强 </td> </tr> <tr class="row15"> <td class="col0 leftalign"> </td><td class="col1 leftalign"> <code>userstyle.css</code> </td><td class="col2 leftalign"> <a href="/devel:css" class="wikilink1" title="devel:css" data-wiki-id="devel:css">css</a> </td><td class="col3 leftalign"> 定制 <abbr title="Cascading Style Sheets">CSS</abbr> 增强 </td> </tr> <tr class="row16"> <td class="col0 leftalign"> <code>manifest.json</code> </td><td class="col1 leftalign"> <code>manifest.local.json</code> </td><td class="col2 leftalign"> <a href="/devel:manifest" class="wikilink1" title="devel:manifest" data-wiki-id="devel:manifest">manifest</a> </td><td class="col3 leftalign"> PWA 清单 </td> </tr> </table></div> <div class="secedit editbutton_table editbutton_4"><form class="button btn_secedit" method="post" action="/zh:config"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1676513422" /><input type="hidden" name="summary" value="[表] " /><input type="hidden" name="target" value="table" /><input type="hidden" name="hid" value="table" /><input type="hidden" name="range" value="1830-4325" /><button type="submit" title="表">编辑</button></div></form></div> </div> <div class="secedit editbutton_section editbutton_3"><form class="button btn_secedit" method="post" action="/zh:config"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1676513422" /><input type="hidden" name="summary" value="[配置文件] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="配置文件" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1428-4327" /><button type="submit" title="配置文件">编辑</button></div></form></div> <h3 class="sectionedit5" id="主题配置文件">主题配置文件</h3> <div class="level3"> <p> 附加配置文件在 <code>/var/lib/dokuwiki/lib/tpl/dokuwiki</code> (Debian), 例如: <code><a href="/devel:style.ini" class="wikilink1" title="devel:style.ini" data-wiki-id="devel:style.ini">style.ini</a></code>。 Style.ini 是默认主题读取的文本文件,用户可以通过该文件定制主题,例如 background-color。 </p> </div> <div class="secedit editbutton_section editbutton_5"><form class="button btn_secedit" method="post" action="/zh:config"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1676513422" /><input type="hidden" name="summary" value="[主题配置文件] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="主题配置文件" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="4328-4584" /><button type="submit" title="主题配置文件">编辑</button></div></form></div> <h2 class="sectionedit6" id="启用_关闭_插件">启用/关闭 插件</h2> <div class="level2"> <p> 安装的插件默认为启用。当然你可以通过 <a href="/plugin:extension" class="wikilink1" title="plugin:extension" data-wiki-id="plugin:extension">插件管理器</a>关闭(该配置写在 <code>plugins.local.php</code> 文件里)。你可以将某些插件放置到 <code>conf/plugins.protected.php</code> 以将其保护起来。 </p> <p> DokuWiki 默认按照以下顺序加载配置文件: </p> <ol> <li class="level1"><div class="li"> <code>conf/plugins.php</code> – 默认插件</div> </li> <li class="level1"><div class="li"> <code>conf/plugins.local.php</code> – 通过插件管理器更改的插件</div> </li> <li class="level1"><div class="li"> <code>conf/plugins.required.php</code> – 这些核心插件不受插件管理器控制</div> </li> <li class="level1"><div class="li"> <code>conf/plugins.protected.php</code> – 通过其他文件里进行了重置</div> </li> </ol> <p> 配置文件的加载顺序是通过全局变量 <code>$config_cascade</code> 控制,你可以通过修改 <a href="/devel:preload" class="wikilink1" title="devel:preload" data-wiki-id="devel:preload">preload.php</a> 改变其顺序。 </p> </div> <div class="secedit editbutton_section editbutton_6"><form class="button btn_secedit" method="post" action="/zh:config"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1676513422" /><input type="hidden" name="summary" value="[启用/关闭 插件] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="启用_关闭_插件" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="4585-5340" /><button type="submit" title="启用/关闭 插件">编辑</button></div></form></div> <h2 class="sectionedit7" id="配置选项">配置选项</h2> <div class="level2"> <p> 多数 <a href="/zh:dokuwiki" class="wikilink1" title="zh:dokuwiki" data-wiki-id="zh:dokuwiki">DokuWiki</a> 的功能都可通过配置选项来控制,最简单的方法就是利用<a href="/plugin:config" class="wikilink1" title="plugin:config" data-wiki-id="plugin:config">配置管理器</a>来控制。 </p> <p> 可配置选项在后面列出。每个选项的默认值保存在 <code>conf/dokuwiki.php</code> 中。如果你修改了默认值,那么修改后的值会保存在 <code>conf/local.php</code> 中 – 这样做是为了以后系统升级时不会覆盖掉用户的设置。配置管理器也是这样做的。文件 <code>conf/local.protected.php</code> 中保存的是不希望被修改的选项值。 </p> <p> 这是一个 <code>conf/local.php</code> 示例: </p> <pre class="code php"><span class="kw2">&lt;?php</span> <span class="re0">$conf</span><span class="br0">&#91;</span><span class="st_h">'title'</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="st0">&quot;Admin's Wiki. &quot;</span><span class="sy0">;</span> &nbsp; <span class="re0">$conf</span><span class="br0">&#91;</span><span class="st_h">'useacl'</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="nu0">1</span><span class="sy0">;</span> <span class="re0">$conf</span><span class="br0">&#91;</span><span class="st_h">'superuser'</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="st_h">'admin'</span><span class="sy0">;</span></pre> <p> 关于配置文件需要知道:文件属于 PHP 类型文件,所以支持 PHP 语法。例如,每一行以分号结束。并且支持多种类型变量: </p> <ul> <li class="level1"><div class="li"> <strong>Number</strong> 数字可用,例如:<code>9</code></div> </li> <li class="level1"><div class="li"> <strong>String</strong> 字符串需要使用单引号或者双引号引用。例如: <code>&#039;foo bar&#039;</code></div> </li> <li class="level1"><div class="li"> <strong>Boolean</strong> 布尔值可接受 <code>1</code> 或者 <code>0</code></div> </li> <li class="level1"><div class="li"> <strong>Array</strong> 数列可包含上述类型的多个值</div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_7"><form class="button btn_secedit" method="post" action="/zh:config"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1676513422" /><input type="hidden" name="summary" value="[配置选项] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="配置选项" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="5341-6464" /><button type="submit" title="配置选项">编辑</button></div></form></div> <h3 class="sectionedit8" id="可用选项">可用选项</h3> <div class="level3"> <ul> <li class="level1 node"><div class="li"> <strong> 基本设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:title" class="wikilink1" title="config:title" data-wiki-id="config:title">title</a></div> </li> <li class="level2"><div class="li"> <a href="/config:startpage" class="wikilink1" title="config:startpage" data-wiki-id="config:startpage">start</a></div> </li> <li class="level2"><div class="li"> <a href="/config:lang" class="wikilink1" title="config:lang" data-wiki-id="config:lang">lang</a></div> </li> <li class="level2"><div class="li"> <a href="/config:template" class="wikilink1" title="config:template" data-wiki-id="config:template">template</a></div> </li> <li class="level2"><div class="li"> <a href="/config:tagline" class="wikilink1" title="config:tagline" data-wiki-id="config:tagline">tagline</a></div> </li> <li class="level2"><div class="li"> <a href="/config:sidebar" class="wikilink1" title="config:sidebar" data-wiki-id="config:sidebar">sidebar</a></div> </li> <li class="level2"><div class="li"> <a href="/config:license" class="wikilink1" title="config:license" data-wiki-id="config:license">license</a></div> </li> <li class="level2"><div class="li"> <a href="/config:savedir" class="wikilink1" title="config:savedir" data-wiki-id="config:savedir">savedir</a></div> </li> <li class="level2"><div class="li"> <a href="/config:basedir" class="wikilink1" title="config:basedir" data-wiki-id="config:basedir">basedir</a></div> </li> <li class="level2"><div class="li"> <a href="/config:baseurl" class="wikilink1" title="config:baseurl" data-wiki-id="config:baseurl">baseurl</a></div> </li> <li class="level2"><div class="li"> <a href="/config:cookiedir" class="wikilink1" title="config:cookiedir" data-wiki-id="config:cookiedir">cookiedir</a></div> </li> <li class="level2"><div class="li"> <a href="/config:dmode" class="wikilink1" title="config:dmode" data-wiki-id="config:dmode">dmode</a></div> </li> <li class="level2"><div class="li"> <a href="/config:fmode" class="wikilink1" title="config:fmode" data-wiki-id="config:fmode">fmode</a></div> </li> <li class="level2"><div class="li"> <a href="/config:allowdebug" class="wikilink1" title="config:allowdebug" data-wiki-id="config:allowdebug">allowdebug</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 显示设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:recent" class="wikilink1" title="config:recent" data-wiki-id="config:recent">recent</a></div> </li> <li class="level2"><div class="li"> <a href="/config:recent_days" class="wikilink1" title="config:recent_days" data-wiki-id="config:recent_days">recent_days</a></div> </li> <li class="level2"><div class="li"> <a href="/config:breadcrumbs" class="wikilink1" title="config:breadcrumbs" data-wiki-id="config:breadcrumbs">breadcrumbs</a> </div> </li> <li class="level2"><div class="li"> <a href="/config:youarehere" class="wikilink1" title="config:youarehere" data-wiki-id="config:youarehere">youarehere</a></div> </li> <li class="level2"><div class="li"> <a href="/config:fullpath" class="wikilink1" title="config:fullpath" data-wiki-id="config:fullpath">fullpath</a></div> </li> <li class="level2"><div class="li"> <a href="/config:typography" class="wikilink1" title="config:typography" data-wiki-id="config:typography">typography</a></div> </li> <li class="level2"><div class="li"> <a href="/config:dformat" class="wikilink1" title="config:dformat" data-wiki-id="config:dformat">dformat</a></div> </li> <li class="level2"><div class="li"> <a href="/config:signature" class="wikilink1" title="config:signature" data-wiki-id="config:signature">signature</a></div> </li> <li class="level2"><div class="li"> <a href="/config:showuseras" class="wikilink1" title="config:showuseras" data-wiki-id="config:showuseras">showuseras</a></div> </li> <li class="level2"><div class="li"> <a href="/config:toptoclevel" class="wikilink1" title="config:toptoclevel" data-wiki-id="config:toptoclevel">toptoclevel</a></div> </li> <li class="level2"><div class="li"> <a href="/config:tocminheads" class="wikilink1" title="config:tocminheads" data-wiki-id="config:tocminheads">tocminheads</a></div> </li> <li class="level2"><div class="li"> <a href="/config:maxtoclevel" class="wikilink1" title="config:maxtoclevel" data-wiki-id="config:maxtoclevel">maxtoclevel</a></div> </li> <li class="level2"><div class="li"> <a href="/config:maxseclevel" class="wikilink1" title="config:maxseclevel" data-wiki-id="config:maxseclevel">maxseclevel</a></div> </li> <li class="level2"><div class="li"> <a href="/config:camelcase" class="wikilink1" title="config:camelcase" data-wiki-id="config:camelcase">camelcase</a></div> </li> <li class="level2"><div class="li"> <a href="/config:deaccent" class="wikilink1" title="config:deaccent" data-wiki-id="config:deaccent">deaccent</a></div> </li> <li class="level2"><div class="li"> <a href="/config:useheading" class="wikilink1" title="config:useheading" data-wiki-id="config:useheading">useheading</a></div> </li> <li class="level2"><div class="li"> <a href="/config:sneaky_index" class="wikilink1" title="config:sneaky_index" data-wiki-id="config:sneaky_index">sneaky_index</a></div> </li> <li class="level2"><div class="li"> <a href="/config:hidepages" class="wikilink1" title="config:hidepages" data-wiki-id="config:hidepages">hidepages</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 验证设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:useacl" class="wikilink1" title="config:useacl" data-wiki-id="config:useacl">useacl</a></div> </li> <li class="level2"><div class="li"> <a href="/config:autopasswd" class="wikilink1" title="config:autopasswd" data-wiki-id="config:autopasswd">autopasswd</a></div> </li> <li class="level2"><div class="li"> <a href="/config:authtype" class="wikilink1" title="config:authtype" data-wiki-id="config:authtype">authtype</a></div> </li> <li class="level2"><div class="li"> <a href="/config:passcrypt" class="wikilink1" title="config:passcrypt" data-wiki-id="config:passcrypt">passcrypt</a></div> </li> <li class="level2"><div class="li"> <a href="/config:defaultgroup" class="wikilink1" title="config:defaultgroup" data-wiki-id="config:defaultgroup">defaultgroup</a></div> </li> <li class="level2"><div class="li"> <a href="/config:superuser" class="wikilink1" title="config:superuser" data-wiki-id="config:superuser">superuser</a></div> </li> <li class="level2"><div class="li"> <a href="/config:manager" class="wikilink1" title="config:manager" data-wiki-id="config:manager">manager</a></div> </li> <li class="level2"><div class="li"> <a href="/config:profileconfirm" class="wikilink1" title="config:profileconfirm" data-wiki-id="config:profileconfirm">profileconfirm</a></div> </li> <li class="level2"><div class="li"> <a href="/config:rememberme" class="wikilink1" title="config:rememberme" data-wiki-id="config:rememberme">rememberme</a></div> </li> <li class="level2"><div class="li"> <a href="/config:disableactions" class="wikilink1" title="config:disableactions" data-wiki-id="config:disableactions">disableactions</a></div> </li> <li class="level2"><div class="li"> <a href="/config:auth_security_timeout" class="wikilink1" title="config:auth_security_timeout" data-wiki-id="config:auth_security_timeout">auth_security_timeout</a></div> </li> <li class="level2"><div class="li"> <a href="/config:securecookie" class="wikilink1" title="config:securecookie" data-wiki-id="config:securecookie">securecookie</a></div> </li> <li class="level2"><div class="li"> <a href="/config:remote" class="wikilink1" title="config:remote" data-wiki-id="config:remote">remote</a></div> </li> <li class="level2"><div class="li"> <a href="/config:remoteuser" class="wikilink1" title="config:remoteuser" data-wiki-id="config:remoteuser">remoteuser</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 反垃圾信息设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:usewordblock" class="wikilink1" title="config:usewordblock" data-wiki-id="config:usewordblock">usewordblock</a></div> </li> <li class="level2"><div class="li"> <a href="/config:relnofollow" class="wikilink1" title="config:relnofollow" data-wiki-id="config:relnofollow">relnofollow</a></div> </li> <li class="level2"><div class="li"> <a href="/config:indexdelay" class="wikilink1" title="config:indexdelay" data-wiki-id="config:indexdelay">indexdelay</a></div> </li> <li class="level2"><div class="li"> <a href="/config:mailguard" class="wikilink1" title="config:mailguard" data-wiki-id="config:mailguard">mailguard</a></div> </li> <li class="level2"><div class="li"> <a href="/config:iexssprotect" class="wikilink1" title="config:iexssprotect" data-wiki-id="config:iexssprotect">iexssprotect</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 编辑设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:usedraft" class="wikilink1" title="config:usedraft" data-wiki-id="config:usedraft">usedraft</a></div> </li> <li class="level2"><div class="li"> <a href="/config:htmlok" class="wikilink1" title="config:htmlok" data-wiki-id="config:htmlok">htmlok</a></div> </li> <li class="level2"><div class="li"> <a href="/config:phpok" class="wikilink1" title="config:phpok" data-wiki-id="config:phpok">phpok</a></div> </li> <li class="level2"><div class="li"> <a href="/config:locktime" class="wikilink1" title="config:locktime" data-wiki-id="config:locktime">locktime</a></div> </li> <li class="level2"><div class="li"> <a href="/config:cachetime" class="wikilink1" title="config:cachetime" data-wiki-id="config:cachetime">cachetime</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 链接设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:target" class="wikilink1" title="config:target" data-wiki-id="config:target">target (wiki, interwiki, extern, media, windows)</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 多媒体设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:mediarevisions" class="wikilink1" title="config:mediarevisions" data-wiki-id="config:mediarevisions">mediarevisions</a></div> </li> <li class="level2"><div class="li"> <a href="/config:gdlib" class="wikilink1" title="config:gdlib" data-wiki-id="config:gdlib">gdlib</a></div> </li> <li class="level2"><div class="li"> <a href="/config:im_convert" class="wikilink1" title="config:im_convert" data-wiki-id="config:im_convert">im_convert</a></div> </li> <li class="level2"><div class="li"> <a href="/config:jpg_quality" class="wikilink1" title="config:jpg_quality" data-wiki-id="config:jpg_quality">jpg_quality</a></div> </li> <li class="level2"><div class="li"> <a href="/config:fetchsize" class="wikilink1" title="config:fetchsize" data-wiki-id="config:fetchsize">fetchsize</a></div> </li> <li class="level2"><div class="li"> <a href="/config:refcheck" class="wikilink1" title="config:refcheck" data-wiki-id="config:refcheck">refcheck</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 通知设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:subscribers" class="wikilink1" title="config:subscribers" data-wiki-id="config:subscribers">subscribers</a></div> </li> <li class="level2"><div class="li"> <a href="/config:subscribe_time" class="wikilink1" title="config:subscribe_time" data-wiki-id="config:subscribe_time">subscribe_time</a></div> </li> <li class="level2"><div class="li"> <a href="/config:notify" class="wikilink1" title="config:notify" data-wiki-id="config:notify">notify</a></div> </li> <li class="level2"><div class="li"> <a href="/config:registernotify" class="wikilink1" title="config:registernotify" data-wiki-id="config:registernotify">registernotify</a></div> </li> <li class="level2"><div class="li"> <a href="/config:mailfrom" class="wikilink1" title="config:mailfrom" data-wiki-id="config:mailfrom">mailfrom</a></div> </li> <li class="level2"><div class="li"> <a href="/config:mailreturnpath" class="wikilink1" title="config:mailreturnpath" data-wiki-id="config:mailreturnpath">mailreturnpath</a></div> </li> <li class="level2"><div class="li"> <a href="/config:mailprefix" class="wikilink1" title="config:mailprefix" data-wiki-id="config:mailprefix">mailprefix</a></div> </li> <li class="level2"><div class="li"> <a href="/config:htmlmail" class="wikilink1" title="config:htmlmail" data-wiki-id="config:htmlmail">htmlmail</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 供稿设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:sitemap" class="wikilink1" title="config:sitemap" data-wiki-id="config:sitemap">sitemap</a></div> </li> <li class="level2"><div class="li"> <a href="/config:rss_type" class="wikilink1" title="config:rss_type" data-wiki-id="config:rss_type">rss_type</a></div> </li> <li class="level2"><div class="li"> <a href="/config:rss_linkto" class="wikilink1" title="config:rss_linkto" data-wiki-id="config:rss_linkto">rss_linkto</a></div> </li> <li class="level2"><div class="li"> <a href="/config:rss_content" class="wikilink1" title="config:rss_content" data-wiki-id="config:rss_content">rss_content</a></div> </li> <li class="level2"><div class="li"> <a href="/config:rss_media" class="wikilink1" title="config:rss_media" data-wiki-id="config:rss_media">rss_media</a></div> </li> <li class="level2"><div class="li"> <a href="/config:rss_update" class="wikilink1" title="config:rss_update" data-wiki-id="config:rss_update">rss_update</a></div> </li> <li class="level2"><div class="li"> <a href="/config:rss_show_summary" class="wikilink1" title="config:rss_show_summary" data-wiki-id="config:rss_show_summary">rss_show_summary</a></div> </li> <li class="level2"><div class="li"> <a href="/config:rss_show_deleted" class="wikilink1" title="config:rss_show_deleted" data-wiki-id="config:rss_show_deleted">rss_show_deleted</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 高级设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:updatecheck" class="wikilink1" title="config:updatecheck" data-wiki-id="config:updatecheck">updatecheck</a></div> </li> <li class="level2"><div class="li"> <a href="/config:userewrite" class="wikilink1" title="config:userewrite" data-wiki-id="config:userewrite">userewrite</a></div> </li> <li class="level2"><div class="li"> <a href="/config:useslash" class="wikilink1" title="config:useslash" data-wiki-id="config:useslash">useslash</a></div> </li> <li class="level2"><div class="li"> <a href="/config:sepchar" class="wikilink1" title="config:sepchar" data-wiki-id="config:sepchar">sepchar</a></div> </li> <li class="level2"><div class="li"> <a href="/config:canonical" class="wikilink1" title="config:canonical" data-wiki-id="config:canonical">canonical</a></div> </li> <li class="level2"><div class="li"> <a href="/config:fnencode" class="wikilink1" title="config:fnencode" data-wiki-id="config:fnencode">fnencode</a></div> </li> <li class="level2"><div class="li"> <a href="/config:autoplural" class="wikilink1" title="config:autoplural" data-wiki-id="config:autoplural">autoplural</a></div> </li> <li class="level2"><div class="li"> <a href="/config:compress" class="wikilink1" title="config:compress" data-wiki-id="config:compress">compress</a></div> </li> <li class="level2"><div class="li"> <a href="/config:cssdatauri" class="wikilink1" title="config:cssdatauri" data-wiki-id="config:cssdatauri">cssdatauri</a></div> </li> <li class="level2"><div class="li"> <a href="/config:gzip_output" class="wikilink1" title="config:gzip_output" data-wiki-id="config:gzip_output">gzip_output</a></div> </li> <li class="level2"><div class="li"> <a href="/config:send404" class="wikilink1" title="config:send404" data-wiki-id="config:send404">send404</a></div> </li> <li class="level2"><div class="li"> <a href="/config:compression" class="wikilink1" title="config:compression" data-wiki-id="config:compression">compression</a></div> </li> <li class="level2"><div class="li"> <a href="/config:broken_iua" class="wikilink1" title="config:broken_iua" data-wiki-id="config:broken_iua">broken_iua</a></div> </li> <li class="level2"><div class="li"> <a href="/config:xsendfile" class="wikilink1" title="config:xsendfile" data-wiki-id="config:xsendfile">xsendfile</a></div> </li> <li class="level2"><div class="li"> <a href="/config:renderer_xhtml" class="wikilink1" title="config:renderer_xhtml" data-wiki-id="config:renderer_xhtml">renderer_xhtml</a></div> </li> <li class="level2"><div class="li"> <a href="/config:readdircache" class="wikilink1" title="config:readdircache" data-wiki-id="config:readdircache">readdircache</a></div> </li> <li class="level2"><div class="li"> <a href="/config:search_nslimit" class="wikilink1" title="config:search_nslimit" data-wiki-id="config:search_nslimit">search_nslimit</a></div> </li> <li class="level2"><div class="li"> <a href="/config:search_fragment" class="wikilink1" title="config:search_fragment" data-wiki-id="config:search_fragment">search_fragment</a></div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 网络设置 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:dnslookups" class="wikilink1" title="config:dnslookups" data-wiki-id="config:dnslookups">dnslookups</a></div> </li> <li class="level2"><div class="li"> <a href="/config:jquerycdn" class="wikilink1" title="config:jquerycdn" data-wiki-id="config:jquerycdn">jquerycdn</a></div> </li> <li class="level2"><div class="li"> <a href="/config:proxy" class="wikilink1" title="config:proxy" data-wiki-id="config:proxy">proxy (host, port, user, pass, ssl, except)</a></div> </li> <li class="level2"><div class="li"> <a href="/config:trustedproxy" class="wikilink1" title="config:trustedproxy" data-wiki-id="config:trustedproxy">trustedproxy</a></div> </li> <li class="level2"><div class="li"> <a href="/config:safemodehack" class="wikilink1" title="config:safemodehack" data-wiki-id="config:safemodehack">safemodehack</a> (removed since release 2020 Hogfather)</div> </li> <li class="level2"><div class="li"> <a href="/config:ftp" class="wikilink1" title="config:ftp" data-wiki-id="config:ftp">ftp (host, port, user, pass, root)</a> (removed since release 2020 Hogfather)</div> </li> </ul> </li> <li class="level1 node"><div class="li"> <strong> 功能标志 </strong></div> <ul> <li class="level2"><div class="li"> <a href="/config:defer_js" class="wikilink1" title="config:defer_js" data-wiki-id="config:defer_js">defer_js</a></div> </li> </ul> </li> </ul> </div> <div class="secedit editbutton_section editbutton_8"><form class="button btn_secedit" method="post" action="/zh:config"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1676513422" /><input type="hidden" name="summary" value="[可用选项] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="可用选项" /><input type="hidden" name="codeblockOffset" value="1" /><input type="hidden" name="range" value="6465-" /><button type="submit" title="可用选项">编辑</button></div></form></div> <!-- wikipage stop --> </div> <div class="docInfo"><bdi>zh/config.txt</bdi> · 最后更改: <time datetime="2023-02-16T03:10:22+0100">2023-02-16 03:10</time> 由 <bdi>yzqzss</bdi></div> <hr class="a11y" /> </div></main><!-- /content --> <!-- PAGE ACTIONS --> <nav id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools__heading"> <h3 class="a11y" id="dokuwiki__pagetools__heading">页面工具</h3> <div class="tools"> <ul> <li class="edit"><a href="/zh:config?do=edit" title="编辑本页 [e]" rel="nofollow" accesskey="e"><span>编辑本页</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg></a></li><li class="revs"><a href="/zh:config?do=revisions" title="过去修订 [o]" rel="nofollow" accesskey="o"><span>过去修订</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 7v5.11l4.71 2.79.79-1.28-4-2.37V7m0-5C8.97 2 5.91 3.92 4.27 6.77L2 4.5V11h6.5L5.75 8.25C6.96 5.73 9.5 4 12.5 4a7.5 7.5 0 0 1 7.5 7.5 7.5 7.5 0 0 1-7.5 7.5c-3.27 0-6.03-2.09-7.06-5h-2.1c1.1 4.03 4.77 7 9.16 7 5.24 0 9.5-4.25 9.5-9.5A9.5 9.5 0 0 0 12.5 2z"/></svg></a></li><li class="backlink"><a href="/zh:config?do=backlink" title="反向链接" rel="nofollow"><span>反向链接</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.59 13.41c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0 5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24 2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0 5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24 2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24.973.973 0 0 1 0-1.42z"/></svg></a></li><li class="top"><a href="#dokuwiki__top" title="回到顶部 [t]" rel="nofollow" accesskey="t"><span>回到顶部</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"/></svg></a></li> </ul> </div> </nav> </div><!-- /wrapper --> <!-- ********** FOOTER ********** --> <footer id="dokuwiki__footer"><div class="pad"> <div class="license">除额外注明的地方外,本维基上的内容按下列许可协议发布: <bdi><a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license" class="urlextern">CC Attribution-Share Alike 4.0 International</a></bdi></div> <div class="buttons"> <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license"><img src="/lib/images/license/button/cc-by-sa.png" alt="CC Attribution-Share Alike 4.0 International" /></a> <a href="https://www.dokuwiki.org/donate" title="Donate" ><img src="/lib/tpl/dokuwiki/images/button-donate.gif" width="80" height="15" alt="Donate" /></a> <a href="https://php.net" title="Powered by PHP" ><img src="/lib/tpl/dokuwiki/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> <a href="//validator.w3.org/check/referer" title="Valid HTML5" ><img src="/lib/tpl/dokuwiki/images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a> <a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" ><img src="/lib/tpl/dokuwiki/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> <a href="https://dokuwiki.org/" title="Driven by DokuWiki" ><img src="/lib/tpl/dokuwiki/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> </div> <div style="margin-top: 2em; font-size:90%" class="dokuwiki"><div style="float:right"><a href="http://www.splitbrain.org/personal#imprint" style="float:right; text-decoration: none; color:#333">Imprint</a></div></div><!-- Include for DokuWiki site wide top bar --> <style type="text/css"> @media screen { body { padding-top: 30px; } #global__header { position: absolute; top: 0; left: 0; text-align: left; vertical-align: middle; line-height: 1.5; background-color: #333; box-shadow: 0 0 8px rgba(0,0,0,0.5); width: 100%; margin: 0; padding: 5px 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; white-space: nowrap; overflow: hidden; } #global__header h2 { position: absolute; left: -99999em; top: 0; overflow: hidden; display: inline; } #global__header ul, #global__header li { margin: 0; padding: 0; list-style: none; display: inline; line-height: 1.5; } #global__header a { color: #bbb; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: normal; } #global__header a:hover, #global__header a:active, #global__header a:focus { color: #fff; text-decoration: underline; } #global__header form { float: right; margin: 0 0 0 20px; } #global__header input { background-color: #333; background-image: none; border: 1px solid #bbb; color: #fff; box-shadow: none; border-radius: 2px; margin: 0; line-height: normal; padding: 1px 0 1px 0; height: auto; } #global__header input.button { border: none; color: #bbb; } #global__header input.button:hover, #global__header input.button:active, #global__header input.button:focus { color: #fff; text-decoration: underline; } } /* /@media */ @media only screen and (min-width: 601px) { /* changes specific for www.dokuwiki.org */ #dokuwiki__header { padding-top: 3em; } #dokuwiki__usertools { top: 3em; } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } /* /@media */ @media only screen and (max-width: 600px) { body { padding-top: 0; } #global__header { position: static; white-space: normal; overflow: auto; } #global__header form { float: none; display: block; margin: 0 0 .4em; } } /* /@media */ @media print { #global__header { display: none; } } /* /@media */ </style> <div id="global__header"> <h2>Global DokuWiki Links</h2> <form method="get" action="https://search.dokuwiki.org/" target="_top"> <input type="text" name="q" title="Search all DokuWiki sites at once" class="input" /> <input type="submit" title="Search all DokuWiki sites at once" value="Search" class="button" /> </form> <ul> <li><a href="https://download.dokuwiki.org" title="Download the latest release" target="_top">Download</a></li> <li><a href="https://www.dokuwiki.org" title="Read the DokuWiki documentation" target="_top">Wiki</a></li> <li><a href="https://forum.dokuwiki.org" title="Ask questions in the DokuWiki forum" target="_top">Forum</a></li> <li><a href="https://irc.dokuwiki.org" title="Check IRC chat logs or join the chat" target="_top">IRC</a></li> <li><a href="https://github.com/splitbrain/dokuwiki/issues" title="Report and track bugs" target="_top">Bugs</a></li> <li><a href="https://translate.dokuwiki.org/" title="Help translating the DokuWiki interface" target="_top">Translate</a></li> <li><a href="https://github.com/splitbrain/dokuwiki" title="Access the most recent git commits" target="_top">Git</a></li> <li><a href="https://xref.dokuwiki.org/reference/dokuwiki/" title="Cross-Reference of the DokuWiki source code" target="_top">XRef</a></li> <li><a href="https://codesearch.dokuwiki.org/" title="Search through the sources of DokuWiki, plugins and templates" target="_top">Code Search</a></li> </ul> </div> <!-- end of DokuWiki top bar include --> </div></footer><!-- /footer --> </div></div><!-- /site --> <div class="no"><img src="/lib/exe/taskrunner.php?id=zh%3Aconfig&amp;1733168464" width="2" height="1" alt="" /></div> <div id="screen__mode" class="no"></div></body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10