@@ -3,15 +3,14 @@
|
||||
namespace MailPoet\Config;
|
||||
|
||||
use MailPoet\Twig;
|
||||
use Twig_Environment as TwigEnv;
|
||||
use Twig_Lexer as TwigLexer;
|
||||
use Twig_Loader_Filesystem as TwigFileSystem;
|
||||
use MailPoetVendor\Twig_Environment as TwigEnv;
|
||||
use MailPoetVendor\Twig_Lexer as TwigLexer;
|
||||
use MailPoetVendor\Twig_Loader_Filesystem as TwigFileSystem;
|
||||
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
|
||||
if (!defined('ABSPATH')) exit;
|
||||
|
||||
|
||||
class Renderer {
|
||||
protected $cache_path;
|
||||
protected $caching_enabled;
|
||||
@@ -103,7 +102,7 @@ class Renderer {
|
||||
|
||||
function setupDebug() {
|
||||
if ($this->debugging_enabled) {
|
||||
$this->renderer->addExtension(new \Twig_Extension_Debug());
|
||||
$this->renderer->addExtension(new \MailPoetVendor\Twig_Extension_Debug());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user