Ok I know this is all sorts of Wrong.. But..
I have a few functions I use regularly, and I want to make them more easily accessible to me.
Right now I'm wrapping them in a Model_class as a work around, and I couldn't figure out what to do with them.
Where does someone put these common functions.
I'm sure others have third-party libraries which they must use, and I'm not sure where to put them.
-Patrick.
Put it in a file called functions.php and include that file in your bootstrap (index.php) file. Then you can access your precious functions everywhere.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With