Skip to content

Commit

Permalink
Template path bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marty Wallace committed Sep 30, 2014
1 parent bd79d16 commit 20dd265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/vendor/Tempest/Templating/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 20dd265

Please sign in to comment.