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.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/stupid_template_engine.php b/stupid_template_engine.php
index a74ae60..c77e5d8 100644
--- a/stupid_template_engine.php
+++ b/stupid_template_engine.php
@@ -1181,6 +1181,7 @@ class STECore
$pathex = array_merge(array_slice($pathex, 0, $i), array_slice($pathex, $i + 2));
}
$tpl = implode("/", $pathex);
+ $this->cur_tpl_dir = dirname($tpl);
if($quiet)
{