Removed twig autoloader
This commit is contained in:
parent
1027ef0ca2
commit
7ca6f46855
1 changed files with 0 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue