summaryrefslogtreecommitdiff
path: root/stupid_template_engine.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-09-26 21:01:22 +0200
committerKevin Chabowski <kevin@kch42.de>2011-09-26 21:01:22 +0200
commit3d4682d818226e585096b7428b2069eafdf7f27a (patch)
tree85969360bfae0232216649410397100ce6cc2379 /stupid_template_engine.php
parent3d577a00ea56dcc28f45557a0d33d330c33befe0 (diff)
downloadste-3d4682d818226e585096b7428b2069eafdf7f27a.tar.gz
ste-3d4682d818226e585096b7428b2069eafdf7f27a.tar.bz2
ste-3d4682d818226e585096b7428b2069eafdf7f27a.zip
Fixed relative path construction. Again... -.-
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)
{