<commit_before><?php
/**
 * @package		copix
 * @subpackage	project
 * @author		<NAME>
 * @copyright	Copix Team
 * @link		http://www.copix.org
 * @license		http://www.gnu.org/licenses/lgpl.html Lesser GNU General Public Licence, see LICENCE file
 */

//var_dump(error_reporting(E_ALL));
//phpinfo();
 
//includes copix files.
//will define constants, paths, relative to copix.
$path = dirname (__FILE__);
require ($path . '/../utils/copix/copix.inc.php');
require ($path . '/../project/project.inc.php');

$GLOBALS['ChronoStart'] = microtime();
$GLOBALS['QueryCount'] = 0;

setlocale(LC_TIME, 'fr_FR');

if (!file_exists(COPIX_LOG_PATH.'.installed') || !file_exists('../project/config/copix.conf.php'))
   die( "Votre Iconito n'est pas encore install&eacute;. <a href=\"install/index.php\">Cliquez ici</a>." );

// tentative de création du controlleur
try {	
	$coord = new ProjectController ($path . '/../project/config/copix.conf.php');
	$coord->process ();

// on gère les exceptions de type CopixCredentialException différement, elles redirigent au lieu de s'afficher, et ne génèrent pas de log
} catch (CopixCredentialException $e) {
	header ('location: ' . CopixUrl::get ('auth||', array ('noCredential' => 1, 'auth_url_return' => _url ('#'))));
	exit ();
	<commit_msg>Mise en forme installeur<commit_after><?php
/**
 * @package		copix
 * @subpackage	project
 * @author		<NAME>
 * @copyright	Copix Team
 * @link		http://www.copix.org
 * @license		http://www.gnu.org/licenses/lgpl.html Lesser GNU General Public Licence, see LICENCE file
 */

//var_dump(error_reporting(E_ALL));
//phpinfo();
 
//includes copix files.
//will define constants, paths, relative to copix.
$path = dirname (__FILE__);
require ($path . '/../utils/copix/copix.inc.php');
require ($path . '/../project/project.inc.php');

$GLOBALS['ChronoStart'] = microtime();
$GLOBALS['QueryCount'] = 0;

setlocale(LC_TIME, 'fr_FR');

if (!file_exists(COPIX_LOG_PATH.'.installed') || !file_exists('../project/config/copix.conf.php'))
   die( "<p>Votre Iconito n'est pas encore install&eacute; &mdash; <a href=\"install/index.php\">Cliquez ici</a></p>" );

// tentative de création du controlleur
try {	
	$coord = new ProjectController ($path . '/../project/config/copix.conf.php');
	$coord->process ();

// on gère les exceptions de type CopixCredentialException différement, elles redirigent au lieu de s'afficher, et ne génèrent pas de log
} catch (CopixCredentialException $e) {
	header ('location: ' . CopixUrl::get ('auth||', array ('noCredential' => 1, 'auth_url_return' => _url ('#'))));
	exit ();
	
{'fraction_non_alphanumeric': 0.18093385214007782, 'fraction_numerical': 0.0015564202334630351, 'mean_word_length': 4.424050632911392, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '6108733', 'n_tokens_mistral': 901, 'n_tokens_neox': 894, 'n_words': 218}