<commit_before><?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Get_Grid_Info extends CI_Controller {
    public function index(){
        $ip = $this->config->item('gridInfo_publicIP');
        $name = $this->config->item('gridInfo_gridName');
        $nick = $this->config->item('gridInfo_gridNick');
		$xml = new SimpleXMLElement('<gridinfo></gridinfo>');
		$xml->addChild('login', "http://$ip/GridLogin/");
		$xml->addChild('register', "http://$ip/");
		$xml->addChild('welcome', "http://$ip/welcome/");
		$xml->addChild('password', "http://$ip/");
		$xml->addChild('gridname', "$name");
		$xml->addChild('gridnick', "$nick");
		$xml->addChild('about', "http://$ip/");
		$xml->addChild('economy', "http://$ip/");
        header("Content-type:application/xml");
        //header("Content-type:application/llsd+xml");
        die($xml->saveXML());
    }
}

?><commit_msg>welcome page was rewriting to index.html, fixed<commit_after><?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Get_Grid_Info extends CI_Controller {
    public function index(){
        $ip = $this->config->item('gridInfo_publicIP');
        $name = $this->config->item('gridInfo_gridName');
        $nick = $this->config->item('gridInfo_gridNick');
		$xml = new SimpleXMLElement('<gridinfo></gridinfo>');
		$xml->addChild('login', "http://$ip/GridLogin/");
		$xml->addChild('register', "http://$ip/");
		$xml->addChild('welcome', "http://$ip/welcome.html");
		$xml->addChild('password', "http://$ip/");
		$xml->addChild('gridname', "$name");
		$xml->addChild('gridnick', "$nick");
		$xml->addChild('about', "http://$ip/");
		$xml->addChild('economy', "http://$ip/");
        header("Content-type:application/xml");
        //header("Content-type:application/llsd+xml");
        die($xml->saveXML());
    }
}

?>
{'fraction_non_alphanumeric': 0.2410810810810811, 'fraction_numerical': 0.0, 'mean_word_length': 4.318965517241379, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 24}, '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': '6808711', 'n_tokens_mistral': 633, 'n_tokens_neox': 612, 'n_words': 92}