mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add the uppercase Twig to the template class.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user