<commit_before><?php

namespace Vinala\Kernel\Setup;

use Vinala\Kernel\Foundation\Application;
use Vinala\Kernel\MVC\View\View;
use Vinala\Kernel\Setup\Documentations\Database;
use Vinala\Kernel\Setup\Documentations\Panel;
use Vinala\Kernel\Setup\Documentations\Security;
use Vinala\Kernel\Setup\Documentations\Maintenance;
use Vinala\Kernel\Setup\Documentations\Loggin;
use Vinala\Kernel\Setup\Documentations\Translator;
use Vinala\Kernel\Setup\Documentations\App;
use Vinala\Kernel\Setup\Documentations\Robots;

/**
* class de controller helloController
*/
class Response
{

	/**
	 * set global setup
	 */
	public static function setGlob_step()
	{
		$project=$_POST['project_name'];		
		$name=$_POST['dev_name'];		
		//		
		if(isset($_POST['ckeck_loggin'])) $loggin="true";		
		else $loggin="false";		
		//		
		if(isset($_POST['ckeck_maintenance'])) $maintenance="true";		
		else $maintenance="false";		
		//		
		if(isset($_POST['ckeck_search'])) $robot = true ;		
		else $robot = false ;		
		//
		if( ! Application::$isTest)
		{
			$appCont = App::set($name, $project , true );
			$translatorCont = Translator::set('en');
			$logginCont = Loggin::set($loggin);
			Robots::set($robot);
			//
			file_put_contents(Application::$root."config/app.php", $appCont , 0);
			file_put_contents(Application::$root."config/lang.php", $translatorCont, 0);
			file_put_contents(Application::$root."config/loggin.php", $logginCont, 0);
			//
			echo 'true';
		}
	}
<commit_msg>fix a bug in debug setup process<commit_after><?php

namespace Vinala\Kernel\Setup;

use Vinala\Kernel\Foundation\Application;
use Vinala\Kernel\MVC\View\View;
use Vinala\Kernel\Setup\Documentations\Database;
use Vinala\Kernel\Setup\Documentations\Panel;
use Vinala\Kernel\Setup\Documentations\Security;
use Vinala\Kernel\Setup\Documentations\Maintenance;
use Vinala\Kernel\Setup\Documentations\Loggin;
use Vinala\Kernel\Setup\Documentations\Translator;
use Vinala\Kernel\Setup\Documentations\App;
use Vinala\Kernel\Setup\Documentations\Robots;

/**
* class de controller helloController
*/
class Response
{

	/**
	 * set global setup
	 */
	public static function setGlob_step()
	{
		$project=$_POST['project_name'];		
		$name=$_POST['dev_name'];		
		//		
		if(isset($_POST['ckeck_loggin'])) $loggin = true;		
		else $loggin = false;		
		//		
		if(isset($_POST['ckeck_maintenance'])) $maintenance="true";		
		else $maintenance="false";		
		//		
		if(isset($_POST['ckeck_search'])) $robot = true ;		
		else $robot = false ;		
		//
		if( ! Application::$isTest)
		{
			$appCont = App::set($name, $project , true );
			$translatorCont = Translator::set('en');
			$logginCont = Loggin::set($loggin);
			Robots::set($robot);
			//
			file_put_contents(Application::$root."config/app.php", $appCont , 0);
			file_put_contents(Application::$root."config/lang.php", $translatorCont, 0);
			file_put_contents(Application::$root."config/loggin.php", $logginCont, 0);
			//
			echo 'true';
		}
	}

{'fraction_non_alphanumeric': 0.16254656281747376, 'fraction_numerical': 0.002031832035218422, 'mean_word_length': 4.521495327102803, 'pattern_counts': {'":': 0, '<': 5, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6474650', 'n_tokens_mistral': 1135, 'n_tokens_neox': 1036, 'n_words': 156}