Implemented minor changes.

- Fixed exception documentation
- Latte Engine now saves to the TempDir and not a subdirectory.
This commit is contained in:
Abel Hoogeveen 2019-03-01 11:17:01 +01:00
parent c417068e95
commit 581d3f93bf
No known key found for this signature in database
GPG Key ID: 96C2234920BF4292
2 changed files with 1 additions and 2 deletions

View File

@ -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
{

View File

@ -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
{