* lee worden <won...@riseup.net> [Tue, 11 Aug 2009 11:14:26 -0700 
(PDT)]:
> Placing it in the include path could make it hard to run more than one
> version of the MW code on the same server, since both would probably
> find
> the same file and one of them would likely end up using the other 
one's
> $IP.
>
Very true, I've had once such case.

> Another way of putting it is, is it really better to hard-code the
> absolute position of the MW root rather than its position relative to
> the
> files in it?
>
I've heard that relative paths in require() and include() can be tricky 
for nested inclusions in PHP (it works correctly only for very few 
levels of nesting when paths go "up" and "down").
Dmitriy

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to