![]() |
If file exists - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: If file exists (/showthread.php?tid=59351) |
If file exists - El Forum - 09-23-2013 [eluser]razerone[/eluser] Hi. I am trying to find the best place to start. I would like to learn how to create a theme based template engine. and at the end of each controller file I create it shows up with something like Code: if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/header.tpl')) { Not sure where to start because I am trying to create a template system where has a theme folder. |