You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// extreme debugging with undocumented internal flag which enables a trace output from the parser during debugging
996
-
#$serendipity['smarty']->_parserdebug = true; // be careful!
997
-
998
-
/**
999
-
* ToDo: Check for possible API changes in Smarty 3.2 [smarty_modifier_foobar, --> [smarty_modifier_foobar, smarty_function_foobar, smarty_block_foobar] (in class)]
1000
-
* smarty_modifier_foobar(Smarty $smarty, $string, ...) vs. smarty_modifier_foobar($string, ...)
// array of template directories that are considered secure. No need, as ...TemplateDir concidered secure implicitly. (unproofed)
28
-
public$secure_dir = array(S9Y_TEMPLATE_SECUREDIR); // do we need this then?
29
-
30
-
// actually no need, as template dirs are explicit defined as trusted_dirs. (unproofed)
31
-
public$trusted_dir = array(S9Y_TEMPLATE_USERDEFAULT, S9Y_TEMPLATE_USERDEFAULT_BACKEND, S9Y_TEMPLATE_FALLBACK); // do we need this then?
32
-
33
-
#public $modifiers = array(); // can be omitted, when all allowed
34
-
35
-
// to test this - overwrites Serendipity_Smarty::default_modifiers and Serendipity_Smarty_Security_Policy::php_modifiers - modifier 'escape' not allowed by security setting
0 commit comments