hi
i'm currently running pmwiki-2.2.0-beta65
if i try to set $EnableDiag only for use by the admin using either of  
the two following approaches, i get an unending request for a  
password. if i set the $EnableDiag manually to 1 or 0, everything  
edits fine.

        if (CondAuth($pagename, 'admin')) $EnableDiag = 1;

or

        if(!CondAuth($pagename, 'admin')) {
                $EnableDiag = 0;
                } else {
                $EnableDiag = 1;        # enable remote diagnostics
        }       


should this be happening?
thanks,
adam

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to