Change registerPrefix and registerNamespace to LIFO #1739

Merged
merged 1 commit into from Dec 5, 2012

Projects

None yet

4 participants

@dongilbert
Contributor

When registering a prefix or namespace, the last path registered should be the first path searched. This would make overriding classes MUCH easier.

@LouisLandry
Contributor

I think this makes a ton of sense, and I would consider it an oversight on my part that it doesn't already behave that way.. 👍

That being said, I'd like to leave it open for a day or so to see if we get any strong dissenting opinions.

@ianmacl
Contributor
ianmacl commented Dec 5, 2012

+1

@elinw
Contributor
elinw commented Dec 5, 2012

+1 solves gigantic practical problems.

@LouisLandry LouisLandry merged commit 9b038ab into joomla:staging Dec 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment