It's called $wgAutoloadClasses. It's there already.
Oh yeah. I see what you're saying - that's great!
Then my new question is, would it be alright to switch the order that $localClases and $wgAutoloadClasses are searched? Currently there is no unilateral way to override existing classes, but there could be if $wgAutoloadClasses were searched first.
-- Jim
On 11/5/07, Tim Starling tstarling@wikimedia.org wrote:
Jim Wilson wrote:
Hi all,
Looking at AutoLoader's __autoload() method, I see that the mappings are kept in a static internal variable called $localClasses. Would anyone have a problem with allowing this to be augmented by a global?
It's called $wgAutoloadClasses. It's there already.
-- Tim Starling
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l