diff --git a/src/psm/Service/Template.class.php b/src/psm/Service/Template.class.php index f67c9624..642345a9 100755 --- a/src/psm/Service/Template.class.php +++ b/src/psm/Service/Template.class.php @@ -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];