<commit_before>﻿==== Directory structure ====
These are the directories found at the root of the Arag project:

  +-- etc
  |    +-- scripts
  |
  +-- libs
  |    +-- smarty
  |    +-- Kohana
  |    +-- pear
  |  
  +-- public_html
  |    +-- images
  |    +-- styles
  |    +-- scripts
  |    +-- sites
  |    +-- index.php
  |
  +-- webapp
       +-- cache
       +-- components  
       +-- config
       +-- errors  
       +-- helpers 
       +-- hooks
       +-- libraries
       +-- models
       +-- modules
       +-- templates

In the following table you can find a brief introduction for some of these directories(for directories not listed below refer to the Kohana  documentation):

^ Directory         ^ Description ^
| etc/scripts       | Contains bash or PHP scripts called from a command line. |
| libs              | Contains libraries which will be used in applications. At least it contains Smarty (/smarty) and Kohana (/kohana). |
| public_html       | Contains front controller, styles and images. In general it contains everything we need to send to end user client. |
| webapp/components | Contains Smarty components. |
| webapp/helpers    | Contains Smarty helper wrappers. |
| weabpp/libraries  | Contains Arag libraries which extends Kohana libraries. | 
| webapp/modules    | Contains modules. |
| webapp/templates  | Contains global templates and Smarty plugins/configs. |

==== Arag configuration file ====
Arag configuration file is located at "webapp/configs/arag_configs.php". 
The major configurations are Smarty settings, you can enable or disable Smarty integration, change security settings add filters and etc.
There is also a config file in each module which hast the module's own configuration. To see where you can find this file refer to the [[Modules]] section.<commit_msg>Documentation of Directory structure is updated.<commit_after>﻿==== Directory structure ====
These are the directories found at the root of the Arag project:

  +-- etc
  |    +-- scripts
  |
  +-- libs
  |    +-- smarty
  |    +-- Kohana
  |    +-- pear
  |  
  +-- public_html
  |    +-- images
  |    +-- styles
  |    +-- scripts
  |    +-- sites
  |    +-- index.php
  |
  +-- webapp
       +-- cache
       +-- components  
       +-- config
       +-- errors  
       +-- helpers 
       +-- hooks
       +-- libraries
       +-- modules
       +-- views

In the following table you can find a brief introduction for some of these directories(for directories not listed below refer to the Kohana  documentation):

^ Directory         ^ Description ^
| etc/scripts       | Contains bash or PHP scripts called from a command line. |
| libs              | Contains libraries which will be used in applications. At least it contains Smarty (/smarty) and Kohana (/kohana). |
| public_html       | Contains front controller, styles and images. In general it contains everything we need to send to end user client. |
| webapp/components | Contains Smarty components. |
| webapp/helpers    | Contains Smarty helper wrappers. |
| weabpp/libraries  | Contains Arag libraries which extends Kohana libraries. | 
| webapp/modules    | Contains modules. |
| webapp/views      | Contains global templates and Smarty plugins/configs. |
{'fraction_non_alphanumeric': 0.09870450339296731, 'fraction_numerical': 0.0, 'mean_word_length': 2.346749226006192, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6323871', 'n_tokens_mistral': 916, 'n_tokens_neox': 888, 'n_words': 341}