[pmwiki-users] Whole Site Unprotected - not asking for password when editing side bar etc.
Brian McKee
brian.mckee at gmail.com
Thu Mar 5 13:45:41 CST 2009
Hi All
I just set up a PMWiki, and it picked up my updated site title (so it
must be seeing the updated config file) - but it's letting me edit the
side bar without asking for a password.
I thought having a real password in the default passwords entry was
enough to protect the side bar.
My entire local/config.php file follows.
What am I doing wrong?
<?php if (!defined('PmWiki')) exit();
$WikiTitle = 'Ubuntu Mailing List FAQs';
$EnablePathInfo = 1;
$DefaultPasswords['admin'] = crypt('AReallyGoodPasswordIsHere.Really');
$EnableBlocklist = 10; # enable automatic blocklists
$EnableGUIButtons = 1;
$EnableWSPre = 1; # lines beginning with space
are preformatted
$EnableWikiWords = 1; # enable WikiWord links
$EnablePageListProtect = 1;
if ($action == 'atom') include_once('scripts/feeds.php'); # Atom 1.0
$EnableRelativePageVars = 1;
$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]"');
More information about the pmwiki-users
mailing list