Implemented minor changes.
- Fixed exception documentation - Latte Engine now saves to the TempDir and not a subdirectory.
This commit is contained in:
parent
c417068e95
commit
581d3f93bf
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue