Fixing render path
This commit is contained in:
parent
7fa99eb6d8
commit
287bd4beab
@ -8,7 +8,7 @@ class View
|
||||
public static function render($template, $args = [])
|
||||
{
|
||||
if (self::$twig === null) {
|
||||
$loader = new \Twig_Loader_Filesystem('App/Views');
|
||||
$loader = new \Twig_Loader_Filesystem('../App/Views');
|
||||
$twig = new \Twig_Environment($loader);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user