Welcome Guest, Not a member yet? Register   Sign In
Where to store common 'global' functions?
#1

(This post was last modified: 09-16-2019, 10:04 AM by bustersg.)

I have a bunch of functions on common.php (no class just pure functions)
Now migration to CI4 framework, where should I park this bunch of functions?
Some or most functions does interact with database.

I saw 2 possibilities: /app/Libraries and /app/ThirdParty

Where should I store them and how should I load them?

Is it load via Autoload.php?
Reply


Messages In This Thread
Where to store common 'global' functions? - by bustersg - 09-16-2019, 10:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB