Add the uppercase Twig to the template class.

This commit is contained in:
Mark Crane
2013-11-12 04:39:54 +00:00
parent 75aa1d9e92
commit e770d141a2

View File

@@ -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);