From 71ed2a0470f819a17711280ff5c0f8e11aa2a062 Mon Sep 17 00:00:00 2001 From: fabien Date: Wed, 11 Nov 2009 17:26:02 +0000 Subject: [PATCH] changed template loading of parent templates to use the memory cache provided by the environment git-svn-id: http://svn.twig-project.org/trunk@133 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- lib/Twig/Node/Module.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/Node/Module.php b/lib/Twig/Node/Module.php index 99a8765..f77f1dd 100644 --- a/lib/Twig/Node/Module.php +++ b/lib/Twig/Node/Module.php @@ -99,7 +99,7 @@ class Twig_Node_Module extends Twig_Node implements Twig_NodeListInterface if (!is_null($this->extends)) { $compiler - ->write('$this->load(') + ->write('$this->env->loadTemplate(') ->repr($this->extends) ->raw(");\n\n") ; -- 1.7.2.5