projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
999e54e
)
added a note about sandbox policy checks in the doc (refs #677)
author
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 3 Apr 2012 05:32:06 +0000 (07:32 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 3 Apr 2012 05:32:06 +0000 (07:32 +0200)
doc/recipes.rst
patch
|
blob
|
history
diff --git
a/doc/recipes.rst
b/doc/recipes.rst
index
0335335
..
089ed40
100644
(file)
--- 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
------------------------------------------------------------------