summaryrefslogtreecommitdiff
path: root/stupid_template_engine.php
diff options
context:
space:
mode:
Diffstat (limited to 'stupid_template_engine.php')
-rw-r--r--stupid_template_engine.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/stupid_template_engine.php b/stupid_template_engine.php
index 0edb880..106b1be 100644
--- a/stupid_template_engine.php
+++ b/stupid_template_engine.php
@@ -83,7 +83,7 @@ class ParseCompileError extends \Exception
public function rewrite($code)
{
$line = substr_count(str_replace("\r\n", "\n", $code), "\n", 0, $this->off + 1) + 1;
- $this->message = "{$this->msg} (Template $tpl, Line $line)";
+ $this->message = "{$this->msg} (Template {$this->tpl}, Line $line)";
$this->is_rewritten = True;
}
}