)PmWiki
PmWikilocal/config.phppub/css/local.css
SiteSiteAdmin, Site.SideBar
(local/config.php)
pmwiki“docs/”"sample-config.php"“local/”“config.php”
- “”“#”
<?php if (!defined('PmWiki')) exit();
#wiki
$WikiTitle = "Wiki";
#logoCSS
$PageLogoUrl = "http://example.com/mylogo.gif";
# pmwiki
#$ScriptUrl = 'http://example.com/pmwiki/pmwiki.php';
#$PubDirUrl = 'http://example.com/pmwiki/pub';
#
$DefaultPasswords['admin'] = crypt('onesecret');
#1
$EnableUpload = 1;
$DefaultPasswords['upload'] = crypt('secrettwo');
local/config.phpPmWiki.VariablesPmWikiWiki
Wikivariables
Cookbook
security
Site (Site.SideBar) “local/config.php” "mysecret
"
$DefaultPasswords['admin'] = crypt('mysecret');
crypt()
PmWikiPmWiki?action=crypt
“pmwiki.php”
PmWiki“local/config.php”“cookbook/”“pub” “pmwiki.php”“scripts/”PmWiki
“index.php”index.php
<?php include('pmwiki.php');
Uploads
“upload”
(Uploads admin
(wiki.d)wiki“config.php”
[1]
“local/config.php” local customizations?
wikiWiki Farms.
wiki