Brion Vibber wrote:
> El 4/30/09 2:09 PM, Aryeh Gregor escribió:
>> On Thu, Apr 30, 2009 at 12:47 PM, Brion Vibber<[email protected]>  wrote:
>>>> $wgUploadPath="images"?
>>> This is not correct ever, because $wgUploadPath must be a full path
>>> starting from "/".
>> Maybe we should detect this condition and fix it, or at least raise an
>> error message of some kind?
> 
> We probably could. :)

Not sure if it's worth the trouble, at least unless someone can think of 
a good place to put the check such that we don't have to run it on each 
and every request.  Sure, the cost of such a check is minimal, but so is 
the frequency with which most people change their $wgUploadPath.

Maybe we could add a Special:CheckConfigSanity page.  And a hook for 
extensions to add their own sanity checks...

-- 
Ilmari Karonen

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to