[SOLVED] multiple model load
Posted: Tue Jun 03, 2025 10:45 am
In going through some modified files I notice some functions have multiple model loads of the same file in the same function. Does opencart disregard secondary loads of the same include file, or are the files actually being loaded multiple times? What's the best way to address this? I have what I call a "general fix" ocmod for my setup, where I include simple one liner things that I need rectified throughout opencart, I was thinking of deleting the commenting out the insertion of that load logic in the ocmods and then inserting one call to load that model in my "general fix" so it works for all the ocmods that need it. Any better solutions? Or is this just not needed?