We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Global includes in layout files
On my index.php page, I have included a vars.php file that holds php variables, but my layout files on index.php (global.header and global.footer) can't access the variables.
Do I have to include the vars.php file on all the layout templates as well? Is there a better way to do all of this?
Want to reply to this thread?Login with Perch