From: Fabien Potencier Date: Tue, 3 Apr 2012 05:32:06 +0000 (+0200) Subject: added a note about sandbox policy checks in the doc (refs #677) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=7ea15600eec7c31ed1a3bd1345772eb631139056;p=web%2Fkonrad%2Ftwig.git added a note about sandbox policy checks in the doc (refs #677) --- diff --git a/doc/recipes.rst b/doc/recipes.rst index 0335335..089ed40 100644 --- a/doc/recipes.rst +++ b/doc/recipes.rst @@ -256,6 +256,12 @@ how you can do it:: // $template contains one or more syntax errors } +.. note:: + + This method won't catch any sandbox policy violations because the policy + is enforced during template rendering (as Twig needs the context for some + checks like allowed methods on objects). + Refreshing modified Templates when APC is enabled and apc.stat = 0 ------------------------------------------------------------------