<commit_before><?php
/**
 * Bootstrap handler - perform the Nova Framework's bootstrap stage.
 *
 * @author <NAME> - <EMAIL>
 * @version 3.0
 * @date April 10th, 2016
 */

use Core\Aliases;
use Core\Language;
use Core\Modules;
use Core\Router;
use Helpers\Session;
use Patchwork\Utf8\Bootup as PatchworkBootup;


/** Turn on the custom error handling. */
set_exception_handler('Core\Logger::ExceptionHandler');
set_error_handler('Core\Logger::ErrorHandler');

/** Turn on output buffering. */
ob_start();

/** Load the Configuration. */
require APPDIR .'Config.php';

/** Set the Default Timezone. */
date_default_timezone_set(DEFAULT_TIMEZONE);

/** Load the Framework wide functions. */
require dirname(__FILE__) .DS .'functions.php';

/** Initialize the Aliases. */
Aliases::init();

/** Load the Events */
require APPDIR .'Events.php';

/** Load the Route Filters */
require APPDIR .'Filters.php';

/** Start the Session. */
Session::init();

/** Initialize the Language. */
Language::init();

/** Initialize the Patchwork Utf8. */
PatchworkBootup::initAll();

/** Initialize the active Modules */
Modules::init();

/** Get the Router instance. */
$router = Router::getInstance();

/** Load the Routes */
require APPDIR .'Routes.php';

/** Load the Routes from the active Modules */
Modules::loadRoutes();
<commit_msg>Small change on system/bootstrap.php<commit_after><?php
/**
 * Bootstrap handler - perform the Nova Framework's bootstrap stage.
 *
 * @author <NAME> - <EMAIL>
 * @version 3.0
 * @date April 10th, 2016
 */

use Core\Aliases;
use Core\Language;
use Core\Modules;
use Core\Router;
use Helpers\Session;
use Patchwork\Utf8\Bootup as Patchwork;


/** Turn on the custom error handling. */
set_exception_handler('Core\Logger::ExceptionHandler');
set_error_handler('Core\Logger::ErrorHandler');

/** Turn on output buffering. */
ob_start();

/** Load the Configuration. */
require APPDIR .'Config.php';

/** Set the Default Timezone. */
date_default_timezone_set(DEFAULT_TIMEZONE);

/** Load the Framework wide functions. */
require dirname(__FILE__) .DS .'functions.php';

/** Initialize the Aliases. */
Aliases::init();

/** Load the Events */
require APPDIR .'Events.php';

/** Load the Route Filters */
require APPDIR .'Filters.php';

/** Start the Session. */
Session::init();

/** Initialize the Language. */
Language::init();

/** Initialize the Patchwork Utf8. */
Patchwork::initAll();

/** Initialize the active Modules */
Modules::init();

/** Get the Router instance. */
$router = Router::getInstance();

/** Load the Routes */
require APPDIR .'Routes.php';

/** Load the Routes from the active Modules */
Modules::loadRoutes();

{'fraction_non_alphanumeric': 0.16120527306967986, 'fraction_numerical': 0.007532956685499058, 'mean_word_length': 4.26984126984127, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '1265117', 'n_tokens_mistral': 844, 'n_tokens_neox': 821, 'n_words': 243}