/etc/kohana2/modules/smarty/config/smarty.php is in libkohana2-modules-php 2.3.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | <?php defined('SYSPATH') OR die('No direct access allowed.');
$config = array
(
'integration' => TRUE, // Enable/Disable Smarty integration
'templates_ext' => 'tpl',
'global_templates_path' => APPPATH.'views/',
'cache_path' => APPPATH.'cache/smarty_cache/',
'compile_path' => APPPATH.'cache/smarty_compile/',
'configs_path' => APPPATH.'views/smarty_configs/',
'plugins_path' => APPPATH.'views/smarty_plugins/',
'debug_tpl' => APPPATH.'views/debug.tpl',
'debugging_ctrl' => FALSE,
'debugging' => TRUE,
'caching' => FALSE,
'force_compile' => FALSE,
'security' => TRUE,
'secure_dirs' => array // Smarty secure directories
(
MODPATH.'smarty/views'
),
'if_funcs' => array // We'll allow these functions in if statement
(
'array', 'list', 'trim', 'isset', 'empty',
'sizeof', 'in_array', 'is_array', 'true', 'false',
'null', 'reset', 'array_keys', 'end', 'count'
),
'modifier_funcs' => array // We'll allow these modifiers
(
'sprintf', 'count'
),
'post_filters' => array
(
),
'output_filters' => array
(
'trimwhitespace'
),
'pre_filters' => array
(
),
'escape_exclude_list' => array
(
),
);
|