[pmwiki-users] AuthUser and DefaultGroup and farmconfig
Mikael Nilsson
mini at nada.kth.se
Sun Dec 3 07:29:52 CST 2006
sön 2006-12-03 klockan 14:09 +0100 skrev Mikael Nilsson:
> I'm sure this must have been asked before.
>
> I'm having a problem with a DefaultGroup and DefaultName setting that
> will not stick. I think I know why - essentially, the first call to
> ResolvePageName is made in authuser.php, which I call *before* setting
> any of them.
>
> Now, I'm sharing admins across a set of fields in a farm, and they are
> configured in farmconfig.php, and thus the call to authuser.php is made
> there.
>
> The DefaultGroup/Name is set in a field's config.php, thus after
> authuser.php is called, resulting in the default page being wrong
>
> Any hints on what to do?
I solved my own issue by calling
include_once('local/config.php');
at the bottom of farmconfig.php, but just before the authuser call.
Hope that's a good way to solve it.
/Mikael
--
Plus ça change, plus c'est la même chose
More information about the pmwiki-users
mailing list