Page 1 of 1

What does this file do?

Posted: Fri Jun 09, 2006 5:44 pm
by knotty
Seen the        templates_c        file in a number of programs, just wondering what it does?

Thanks...knotty

Re: What does this file do?

Posted: Fri Jun 09, 2006 9:06 pm
by Ted
templates_c is where smarty stores it's compiled templates.  To make a long story short, when you send data off to smarty for processing, it takes that template and compiles it down to real php code.  Smarty then caches that template off in the templates_c dir so it's not doing the intensive process of creating php code out of templates on every page load.

If that makes any sense...

Re: What does this file do?

Posted: Fri Jun 09, 2006 9:46 pm
by knotty
OK, thanks Ted, I got it. It's saving having to do it again.

knotty