diff --git a/src/Config.php b/src/Config.php index 0e03cbe..514b5b6 100644 --- a/src/Config.php +++ b/src/Config.php @@ -301,6 +301,10 @@ public function getTemplate() { if (file_exists($alternative)) { $template = $alternative; } + $alternative .= '.php.tpl'; + if (file_exists($alternative)) { + $template = $alternative; + } } return $template; }