'image/gif',
'jpeg' => 'image/jpeg',
'jpg' => 'image/jpeg',
'png' => 'image/png',
'xxx' => 'yyyy/zzz'
);
# $UploadPermAdd = 0;
# $DefaultPasswords['upload'] = pmcrypt('uploADme');
## Setting $EnableDiag turns on the ?action=diag and ?action=phpinfo
## actions, which often helps others to remotely troubleshoot
## various configuration and execution problems.
# $EnableDiag = 1; # enable remote diagnostics
## By default, PmWiki doesn't allow browsers to cache pages. Setting
## $EnableIMSCaching=1; will re-enable browser caches in a somewhat
## smart manner. Note that you may want to have caching disabled while
## adjusting configuration files or layout templates.
# $EnableIMSCaching = 1; # allow browser caching
## Set $SpaceWikiWords if you want WikiWords to automatically
## have spaces before each sequence of capital letters.
# $SpaceWikiWords = 1; # turn on WikiWord spacing
## Set $EnableWikiWords if you want to allow WikiWord links.
## For more options with WikiWords, see scripts/wikiwords.php .
# $EnableWikiWords = 1; # enable WikiWord links
## $DiffKeepDays specifies the minimum number of days to keep a page's
## revision history. The default is 3650 (approximately 10 years).
$DiffKeepDays=30; # keep page history at least 30 days
## By default, viewers are prevented from seeing the existence
## of read-protected pages in search results and page listings,
## but this can be slow as PmWiki has to check the permissions
## of each page. Setting $EnablePageListProtect to zero will
## speed things up considerably, but it will also mean that
## viewers may learn of the existence of read-protected pages.
## (It does not enable them to access the contents of the pages.)
# $EnablePageListProtect = 0;
## The refcount.php script enables ?action=refcount, which helps to
## find missing and orphaned pages. See PmWiki.RefCount.
# if ($action == 'refcount') include_once("scripts/refcount.php");
## The feeds.php script enables ?action=rss, ?action=atom, ?action=rdf,
## and ?action=dc, for generation of syndication feeds in various formats.
# if ($action == 'rss') include_once("scripts/feeds.php"); # RSS 2.0
# if ($action == 'atom') include_once("scripts/feeds.php"); # Atom 1.0
# if ($action == 'dc') include_once("scripts/feeds.php"); # Dublin Core
# if ($action == 'rdf') include_once("scripts/feeds.php"); # RSS 1.0
## In the 2.2.0-beta series, {$var} page variables were absolute, but now
## relative page variables provide greater flexibility and are recommended.
## (If you're starting a new site, it's best to leave this setting alone.)
# $EnableRelativePageVars = 1; # 1=relative; 0=absolute
## By default, pages in the Category group are manually created.
## Uncomment the following line to have blank category pages
## automatically created whenever a link to a non-existent
## category page is saved. (The page is created only if
## the author has edit permissions to the Category group.)
# $AutoCreate['/^Category\\./'] = array('ctime' => $Now);
## PmWiki allows a great deal of flexibility for creating custom markup.
## To add support for '*bold*' and '~italic~' markup (the single quotes
## are part of the markup), uncomment the following lines.
## (See PmWiki.CustomMarkup and the Cookbook for details and examples.)
# Markup("'~", "inline", "/'~(.*?)~'/", "$1"); # '~italic~'
# Markup("'*", "inline", "/'\\*(.*?)\\*'/", "$1"); # '*bold*'
## If you want to have to approve links to external sites before they
## are turned into links, uncomment the line below. See PmWiki.UrlApprovals.
## Also, setting $UnapprovedLinkCountMax limits the number of unapproved
## links that are allowed in a page (useful to control wikispam).
$UnapprovedLinkCountMax = 1;
include_once("scripts/urlapprove.php");
## The following lines make additional editing buttons appear in the
## edit page for subheadings, lists, tables, etc.
$GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
'$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');
$GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
'$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');
$GUIButtons['indent'] = array(500, '\\n->', '\\n', '$[Indented text]',
'$GUIButtonDirUrlFmt/indent.gif"$[Indented text]"');
$GUIButtons['outdent'] = array(510, '\\n-<', '\\n', '$[Hanging indent]',
'$GUIButtonDirUrlFmt/outdent.gif"$[Hanging indent]"');
$GUIButtons['ol'] = array(520, '\\n# ', '\\n', '$[Ordered list]',
'$GUIButtonDirUrlFmt/ol.gif"$[Ordered (numbered) list]"');
$GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
'$GUIButtonDirUrlFmt/ul.gif"$[Unordered (bullet) list]"');
$GUIButtons['hr'] = array(540, '\\n----\\n', '', '',
'$GUIButtonDirUrlFmt/hr.gif"$[Horizontal rule]"');
$GUIButtons['table'] = array(600,
'||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr ||\\n|| || || ||\\n|| || || ||\\n', '', '',
'$GUIButtonDirUrlFmt/table.gif"$[Table]"');
$DefaultGroup = "Help";
$DefaultPage = "Help.Help";
$UploadMaxSize = 2000000;