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. 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. Link to comment https://forums.phpfreaks.com/topic/263950-template-system/#findComment-1352708 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.