<commit_before><?php
/**
 * Arvici App Bootstrap.
 *
 * @author     <NAME> <<EMAIL>>
 * @copyright  2016 <NAME>
 */

/**
 * Define the base directory containing the 'App' folder.
 */
defined('BASEPATH') || define('BASEPATH', __DIR__ . DS);

/**
 * Define all the paths in the base.
 */
defined('APPPATH') || define('APPPATH', BASEPATH . 'App' . DS);


/**
 * Load all configuration files.
 */
$configDir = APPPATH . '/Config/';
foreach (glob($configDir . '*.php') as $fileName) {
    require_once $fileName;
}

/**
 * Start the logger.
 */
\Logger::start();

/**
 * Start the router.
 */
\Arvici\Component\Router::getInstance()->run();<commit_msg>Set default timezone according to the configuration.<commit_after><?php
/**
 * Arvici App Bootstrap.
 *
 * @author     <NAME> <<EMAIL>>
 * @copyright  2016 <NAME>
 */
use Arvici\Heart\Config\Configuration;

/**
 * Define the base directory containing the 'App' folder.
 */
defined('BASEPATH') || define('BASEPATH', __DIR__ . DS);

/**
 * Define all the paths in the base.
 */
defined('APPPATH') || define('APPPATH', BASEPATH . 'App' . DS);


/**
 * Load all configuration files.
 */
$configDir = APPPATH . '/Config/';
foreach (glob($configDir . '*.php') as $fileName) {
    require_once $fileName;
}


/**
 * Set default timezone
 */
date_default_timezone_set(Configuration::get('app.timezone', 'UTC'));

/**
 * Start the logger.
 */
\Logger::start();

/**
 * Start the router.
 */
\Arvici\Component\Router::getInstance()->run();
{'fraction_non_alphanumeric': 0.1951219512195122, 'fraction_numerical': 0.005420054200542005, 'mean_word_length': 3.5869565217391304, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '777927', 'n_tokens_mistral': 491, 'n_tokens_neox': 484, 'n_words': 124}