On Mon, 5 Feb 2007, Patrick R. Michaud wrote:

pmwiki/
     pmwiki.php (including pmwiki.php)
     "core"/
             scripts/
                        pmwiki.php

This might lead to a problem in computing a value for $FarmD, which really ought to be the directory containing scripts/, cookbook/, etc. So, the pmwiki.php in the root would need to do a bit more than a simple include of scripts/pmwiki.php. And defining $FarmD as "the parent of scripts/" doesn't feel right to me.

I see. I looked in pmwiki.php, and AFAICT:

        SDV($FarmD,dirname(__FILE__));

is the crucial line. So basically you're saying that the farm directory is the directory pmwiki.php is located in... Have I got it right?

/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to