removing option from template parser to directly load template files

into a file. its not being used and causes a file_exists() on all vars
This commit is contained in:
Pepijn Over 2014-02-09 12:19:44 +01:00
parent a2272c579c
commit c415371e5d
1 changed files with 0 additions and 3 deletions

View File

@ -93,9 +93,6 @@ class Template {
}
foreach($data as $key => $value) {
// check if $value is a file
$value = (file_exists($value)) ? $this->parseFile($value) : $value;
$this->templates[$id] = str_replace('{'.$key.'}', $value, $this->templates[$id]);
}
return $this->templates[$id];