[pmwiki-users] error in pgcust.php with 2.beta55
Patrick R. Michaud
pmichaud at pobox.com
Fri Aug 26 06:59:22 CDT 2005
On Fri, Aug 26, 2005 at 11:06:56AM +0200, Daniel Scheibler wrote:
> Hello,
>
> the pgcust.php runs in my farm only the
> PerPage customization. The PerGroup config files aren't
> included.
They should be included -- at least, they certainly work
for all other PmWiki sites! :-)
> if (file_exists("$FarmD/local/farmconfig/$group.php")) {
> include_once("$FarmD/local/farmconfig/$group.php");
> $f = 0;
> }
> ...
> if (file_exists("$FarmD/local/farmconfig/$name.php")) {
> include_once("$FarmD/local/farmconfig/$name.php");
> $f = 0;
> }
> ...
These are backwards -- the per-page configuration file needs
to be loaded before any per-group configuration file.
Pm
More information about the pmwiki-users
mailing list