NLT Posted June 10, 2012 Share Posted June 10, 2012 I have made a template system. Here are the directories: Template files are held in: /class/templates/ Classes are held in: /class/ I've used ob_start() etc so I can write PHP in the TPL file. But when I use one of my variables I have used in the configuration file to declare a class, it says undefined variable. It even says it when I include the configuration file from the TPL file itself. And I know it's reaching there because it's connecting to the database and things. Quote Link to comment https://forums.phpfreaks.com/topic/263950-template-system/ Share on other sites More sharing options...
NLT Posted June 10, 2012 Author Share Posted June 10, 2012 Delete this thread. Quote Link to comment https://forums.phpfreaks.com/topic/263950-template-system/#findComment-1352708 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.