<commit_before><?php

$config = Array
(
    'integration'           => True,        // Enable/Disable Smarty integration
    'templates_ext'         => 'tpl',
    'cache_path'            => Kohana::config('arag.cache_path'),
    'global_templates_path' => APPPATH . 'views/',
    'debugging_ctrl'        => False,
    'debugging'             => True,
    'caching'               => False,
    'force_compile'         => False,
    'security'              => True,         // XXX: DO NOT SET TO FALSE, SERIOUS SECURITY RISK IF SET!
    'secure_dirs'           => Array         // Smarty secure directories
    (
        LIBSPATH.'arag/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', 'urlencode', 'urldecode'
    ),

    'post_filters'          => Array         // XXX: After change clear the cache to take effect
    (
    ),
    'output_filters'        => Array
    (
        'trimwhitespace'
    ),
    'pre_filters'           => Array         // XXX: DO NOT REMOVE arag_escape prefilter, SERIOUS SECURITY RISK IF REMOVED!
                                             // XXX: after change clear the cache to take effect
    (
        'arag_escape', 'arag_gettext'
    ),

    // Do not escape these directories and files
    // Prototype:
    //
    //    Array ('|/views/arag_templates/[a-zA-Z_0-9]+\.tpl$|',
    //           '|/themes/[a-zA-Z_0-9]+/display_blocks\.tpl$|',
    //           '|/themes/[a-zA-Z_0-9]+/[a-zA-Z_0-9]+block\.tpl$|',
    //           '|/views/arag_block/[a-zA-Z_0-9]+\.tpl$|',
    //           '|/views/arag_tabbed_block/[a-zA-Z_0-9]+\.tpl$|'),

    'escape_exclude_list'   => Array
    (
    ),
    'plugins_paths'         => Array
    (
        MODPATH.'user/views/plugins/',
        APPPATH.'views/smarty_plugins/',
    )
);
<commit_msg>adding user manager views to secure directories for {arag_user_search}<commit_after><?php

$config = Array
(
    'integration'           => True,        // Enable/Disable Smarty integration
    'templates_ext'         => 'tpl',
    'cache_path'            => Kohana::config('arag.cache_path'),
    'global_templates_path' => APPPATH . 'views/',
    'debugging_ctrl'        => False,
    'debugging'             => True,
    'caching'               => False,
    'force_compile'         => False,
    'security'              => True,         // XXX: DO NOT SET TO FALSE, SERIOUS SECURITY RISK IF SET!
    'secure_dirs'           => Array         // Smarty secure directories
    (
        LIBSPATH.'arag/views',
        MODPATH.'user/views/frontend/'
    ),
    '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', 'urlencode', 'urldecode'
    ),

    'post_filters'          => Array         // XXX: After change clear the cache to take effect
    (
    ),
    'output_filters'        => Array
    (
        'trimwhitespace'
    ),
    'pre_filters'           => Array         // XXX: DO NOT REMOVE arag_escape prefilter, SERIOUS SECURITY RISK IF REMOVED!
                                             // XXX: after change clear the cache to take effect
    (
        'arag_escape', 'arag_gettext'
    ),

    // Do not escape these directories and files
    // Prototype:
    //
    //    Array ('|/views/arag_templates/[a-zA-Z_0-9]+\.tpl$|',
    //           '|/themes/[a-zA-Z_0-9]+/display_blocks\.tpl$|',
    //           '|/themes/[a-zA-Z_0-9]+/[a-zA-Z_0-9]+block\.tpl$|',
    //           '|/views/arag_block/[a-zA-Z_0-9]+\.tpl$|',
    //           '|/views/arag_tabbed_block/[a-zA-Z_0-9]+\.tpl$|'),

    'escape_exclude_list'   => Array
    (
    ),
    'plugins_paths'         => Array
    (
        MODPATH.'user/views/plugins/',
        APPPATH.'views/smarty_plugins/',
    )
);

{'fraction_non_alphanumeric': 0.157581310123683, 'fraction_numerical': 0.005497022446174988, 'mean_word_length': 1.602502979737783, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '86272', 'n_tokens_mistral': 1469, 'n_tokens_neox': 1438, 'n_words': 277}