When I use "$this->config->get()", is that doing a database query every time, or is that calling an array of info or something?
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
Config is an object which is loaded into memeory at the beginning of a request, in framework.php I believe.
So, no, the database is not queried every time you use $this->config->get().
If that answers your question, please add [SOLVED] to the start of this topic title.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Who is online
Users browsing this forum: jog2le and 17 guests