From 20dd26598c2ddad82f90414f449eb5ea1a43d035 Mon Sep 17 00:00:00 2001 From: Marty Wallace Date: Tue, 30 Sep 2014 14:48:44 +1000 Subject: [PATCH] Template path bug fix. --- server/vendor/Tempest/Templating/Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/vendor/Tempest/Templating/Template.php b/server/vendor/Tempest/Templating/Template.php index 3d025b2..6e2a2c5 100644 --- a/server/vendor/Tempest/Templating/Template.php +++ b/server/vendor/Tempest/Templating/Template.php @@ -21,7 +21,7 @@ class Template extends HTMLOutput */ public static function load($file) { - $path = path_normalize(APP_ROOT . Config::data("paths.templates", "/client/templates/") . $file, SEP, false, false); + $path = APP_ROOT . path_normalize(Config::data("paths.templates", "/client/templates/") . $file, SEP, false, false); return new static(file_get_contents($path)); }