Removed twig autoloader

This commit is contained in:
msosvi 2013-11-09 16:33:30 +00:00
parent 1027ef0ca2
commit 7ca6f46855

View file

@ -107,7 +107,6 @@ class Pico {
// Load the theme
$this->run_hooks('before_twig_register');
Twig_Autoloader::register();
$loader = new Twig_Loader_Filesystem(THEMES_DIR . $settings['theme']);
$twig = new Twig_Environment($loader, $settings['twig_config']);
$twig->addExtension(new Twig_Extension_Debug());