<commit_before><?php
	//Require framework core
	require_once 'system/Core.class.php';
	
	//Init core
	\Eliya\Core::init();

	//Init DB
	require_once 'application/vendors/EntityPHP/EntityPHP.php';

	$sql	=	\Eliya\Config('main')->SQL;

	try
	{
		if( ! empty($sql))
			\EntityPHP\Core::connectToDB($sql['HOST'], $sql['USER'], $sql['PASSWORD'], $sql['DATABASE']);
		else
			throw new Exception('Impossible de se connecter à la base de données : informations introuvables.');
	}
	catch(Exception $e)
	{<commit_msg>Ajout de session_start() dans index.php<commit_after><?php
	//Require framework core
	require_once 'system/Core.class.php';
	
	//Init core
	\Eliya\Core::init();
	
	//Activate the session
	session_start();

	//Init DB
	require_once 'application/vendors/EntityPHP/EntityPHP.php';

	$sql	=	\Eliya\Config('main')->SQL;

	try
	{
		if( ! empty($sql))
			\EntityPHP\Core::connectToDB($sql['HOST'], $sql['USER'], $sql['PASSWORD'], $sql['DATABASE']);
		else
			throw new Exception('Impossible de se connecter à la base de données : informations introuvables.');
	}
	catch(Exception $e)
	{
{'fraction_non_alphanumeric': 0.17463235294117646, 'fraction_numerical': 0.0, 'mean_word_length': 4.5, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7601724', 'n_tokens_mistral': 409, 'n_tokens_neox': 390, 'n_words': 84}