zencart and ‘require’
I think it has been quite some time that I complained about zen-cart, so I feel entitled to have another go: aaaaaaaaaaaahhhhhhhhh!
Actually, it’s not that bad, but I really wonder why all zen cart code uses require rather than require_once. Sure, there might be some performance issue (although I don’t think that really matters), but really: why??
Every time some custom code wants to use zencart classes that haven’t been loaded yet but will be later things screw up. So, the alternative is to wrap all classes in their files in if (!class_exists('class-name')) {}, but if it is about performance that is perhaps not much better.
Any chance to get that fixed??
