From 3d4682d818226e585096b7428b2069eafdf7f27a Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Mon, 26 Sep 2011 21:01:22 +0200 Subject: Fixed relative path construction. Again... -.- --- stupid_template_engine.php | 1 + 1 file changed, 1 insertion(+) (limited to 'stupid_template_engine.php') 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) { -- cgit v1.2.3-70-g09d2