[Pmwiki-users] Easily Hackable?
H. Fox
haganfox
Sun Apr 4 13:32:42 CDT 2004
Steven Leite wrote:
>> Sure, it'd be no problem to do this. But it's still an issue of
>> "how to specify authorization" -- i.e., how should we specify
>> which names/groups are able to perform which operations on which
>> pages?
>>
>>> Not necessarily. With the .htaccess method I posted a few days
>>> ago, authorship can be forced.
>
>>> <Adds a single line to config.php. Grins because it was so
>>> easy.>
>
> Which "one line of code" did you add to config.php? I'd like to give
> it a try if it's that easy :-)
if (@$_SERVER['REMOTE_USER']) $Author=$_SERVER['REMOTE_USER'];
Reference:
http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/4008/
http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/4023/
Hagan
More information about the pmwiki-users
mailing list