[pmwiki-users] authuser

Hans design at flutesong.fsnet.co.uk
Tue Jun 21 14:50:25 CDT 2005


Tuesday, June 21, 2005, 8:38:30 PM, Patrick wrote:
> And it's a little overkill -- there's no need to 
> modify authuser.php.  If someone wants to set the author 
> based on authentication then 

>     # ...set passwords and authuser settings...
>     include_once('scripts/authuser.php');
>     if ($AuthId) {
>       $Author = $AuthId;
>       setcookie('author',$Author,0,'/');
>     }

> will do it.

thanks! I hoped you would improve it! :)
I don't like modifying the scripts, but sometimes its a nice way to
try out an idea.


Best, 
~Hans                           




More information about the pmwiki-users mailing list