How to Access Config File Variables Globally in all Views ? |
(11-27-2019, 04:52 AM)MGatner Wrote: Anything you load in BaseController will be available in all the controllers that extend it. There is also the helper function “config()” which not only fetches a config but can use it immediately, e.g.: This is exactly what am looking for. Thank You so much. |
Messages In This Thread |
How to Access Config File Variables Globally in all Views ? - by midhunlalkc - 11-27-2019, 02:43 AM
RE: How to Access Config File Variables Globally in all Views ? - by MGatner - 11-27-2019, 04:52 AM
RE: How to Access Config File Variables Globally in all Views ? - by midhunlalkc - 11-27-2019, 07:33 AM
RE: How to Access Config File Variables Globally in all Views ? - by Lauren - 04-05-2020, 11:43 PM
|