[pmwiki-users] Problem with requiring author name
Patrick R. Michaud
pmichaud at pobox.com
Wed Sep 13 12:35:30 CDT 2006
On Wed, Sep 13, 2006 at 10:24:58AM -0700, printer at moveupdate.com wrote:
> I have a group called ITProjects. As per instructions at http://www.pmwiki.org/wiki/Cookbook/RequireAuthor
> I created local/ITProjects.php and put in the line
> $EnablePostAuthorRequired = 1;
>
> When the page is brought up in a broswer (using gemini skin) the
> user gets a line at top that says
> $EnablePostAuthorRequired = 1;
You probably need to also add
<?php
at the very beginning of the local/ITProjects.php file. (All
of PmWiki's .php files need to start with "<?php".)
For somewhat better security, use:
<?php if (!defined('PmWiki')) exit();
at the top of every .php configuration file.
Pm
More information about the pmwiki-users
mailing list