diff --git a/build.xml b/build.xml index d64b209c..d8351bb4 100644 --- a/build.xml +++ b/build.xml @@ -57,6 +57,7 @@ + diff --git a/src/PHPDraft/Out/TemplateGenerator.php b/src/PHPDraft/Out/TemplateGenerator.php index e196310c..a51404f3 100644 --- a/src/PHPDraft/Out/TemplateGenerator.php +++ b/src/PHPDraft/Out/TemplateGenerator.php @@ -90,7 +90,7 @@ public function get($object) } if (stream_resolve_include_path($this->template . '.phtml')) { - $include = $this->template . '.php'; + $include = $this->template . '.phtml'; } if (stream_resolve_include_path('PHPDraft/Out/HTML/' . $this->template . '.phtml')) {