diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-09-26 21:01:22 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-09-26 21:01:22 +0200 |
commit | 3d4682d818226e585096b7428b2069eafdf7f27a (patch) | |
tree | 85969360bfae0232216649410397100ce6cc2379 | |
parent | 3d577a00ea56dcc28f45557a0d33d330c33befe0 (diff) | |
download | ste-3d4682d818226e585096b7428b2069eafdf7f27a.tar.gz ste-3d4682d818226e585096b7428b2069eafdf7f27a.tar.bz2 ste-3d4682d818226e585096b7428b2069eafdf7f27a.zip |
Fixed relative path construction. Again... -.-
-rw-r--r-- | stupid_template_engine.php | 1 |
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) { |