Add the uppercase Twig to the template class.
This commit is contained in:
parent
d74c60e5c1
commit
1501d78a1b
|
|
@ -53,7 +53,7 @@ include "root.php";
|
|||
RainTPL::configure('cache_dir', realpath($this->cache_dir)."/");
|
||||
}
|
||||
if ($this->engine === 'twig') {
|
||||
require_once "resources/templates/engine/twig/Autoloader.php";
|
||||
require_once "resources/templates/engine/Twig/Autoloader.php";
|
||||
Twig_Autoloader::register();
|
||||
$loader = new Twig_Loader_Filesystem($this->template_dir);
|
||||
$this->object = new Twig_Environment($loader);
|
||||
|
|
|
|||
Loading…
Reference in New Issue