Making data available in ALL views |
(06-15-2021, 01:21 AM)InsiteFX Wrote: In your BaseController just load the helper through the helpers array Ok, so I changed the view code to what you said and then I removed the code from the Base Controller that calls the helper and moved it up into the array like so: Code: protected $helpers = ["form", "auth", "phone", "text","siteinfo"]; Code: Undefined variable $siteInfo |
Welcome Guest, Not a member yet? Register Sign In |