Initial Setup Tasks
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');
-
$DefaultPasswords
['admin'] -
$EnableUpload
"1" ("Attached files")$DefaultPasswords
['upload']
local/config.phpPmWiki.VariablesPmWikiWiki
Wikivariables
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”
“local/config.php” local customizations
wikiWiki Farms.
wiki