diff --git a/src/FuzeWorks/Layout.php b/src/FuzeWorks/Layout.php index 5a4a43f..cf5abab 100644 --- a/src/FuzeWorks/Layout.php +++ b/src/FuzeWorks/Layout.php @@ -128,7 +128,6 @@ class Layout * @return mixed * @throws LayoutException On error * @throws EventException - * @throws Exception\ConfigException */ public function display(string $file, array $directories = []): bool { diff --git a/src/FuzeWorks/TemplateEngine/LatteEngine.php b/src/FuzeWorks/TemplateEngine/LatteEngine.php index 7e71bb8..cd9aff5 100644 --- a/src/FuzeWorks/TemplateEngine/LatteEngine.php +++ b/src/FuzeWorks/TemplateEngine/LatteEngine.php @@ -68,7 +68,7 @@ class LatteEngine implements TemplateEngine { // If possible, load Latte\Engine $this->latte = new Latte; - $this->latte->setTempDirectory(realpath(Core::$tempDir . DS . 'Latte')); + $this->latte->setTempDirectory(realpath(Core::$tempDir)); } else {