> $template_file = "".$template_root."".$template_file."";
What are those empty strings supposed to do? This is the same thing:
$template_file = $template_root.$template_file;
> return implode("",(@file($template_file)));
Ack! That's horrible. Do this instead:
ok, im working on a simple and fast templating system for the website im
recreating at the moment. im trying to make it so as the template file
can be opened into a variable before it is passed to the parsing section
so as i dont have to open the file 100 times etc. im not using
fasttemplates beca
2 matches
Mail list logo