* fixed Twig loading on case-sensitive systems

This commit is contained in:
slawkens1
2017-08-28 22:43:03 +02:00
parent 6e6ce55a7b
commit d88de8e072
3 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ require_once(SYSTEM . 'libs/cache.php');
$cache = Cache::getInstance($config['cache_engine'], $config['cache_prefix']);
// twig
require_once LIBS . 'twig/Autoloader.php';
require_once LIBS . 'Twig/Autoloader.php';
Twig_Autoloader::register();
$loader = new Twig_Loader_Filesystem(SYSTEM . 'templates');