From 7ea15600eec7c31ed1a3bd1345772eb631139056 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 3 Apr 2012 07:32:06 +0200 Subject: [PATCH] added a note about sandbox policy checks in the doc (refs #677) --- doc/recipes.rst | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) 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 ------------------------------------------------------------------ -- 1.7.2.5