<commit_before><?php
/**
 * PHPWorks Configuration
 * @author utumdol
 */
class Config {

	// init environment
	private $hostnames = array(
		'dev' => array('dev_host', 'utumdol-Vostro-460'),
		'test' => array('test_hostname'),
		'real' => array('real_hostname')
	);

	// for session cryption. you can change it.
	private $crypt_key = 'a2c$%^*()';

	// default routing. you can change it.
	private $default_controller = 'blog';
	private $default_action = 'index';

	// default model repository. you can change it.
	private function __construct() {
		$this->set_mode();
		switch($this->mode) {
			case 'dev':
				$this->db = 'MySql';
				$this->db_user = 'phpworks';
				$this->db_password = '';
				$this->db_name = 'phpworks_dev';
				$this->db_host = 'localhost';
				$this->db_port = '3306';
				$this->use_db_session = true;
				$this->log_level = 'debug';
				$this->http_host = 'dev.example.com';<commit_msg>change hostname<commit_after><?php
/**
 * PHPWorks Configuration
 * @author utumdol
 */
class Config {

	// init environment
	private $hostnames = array(
		'dev' => array('dev_hostname'),
		'test' => array('test_hostname'),
		'real' => array('real_hostname')
	);

	// for session cryption. you can change it.
	private $crypt_key = 'a2c$%^*()';

	// default routing. you can change it.
	private $default_controller = 'blog';
	private $default_action = 'index';

	// default model repository. you can change it.
	private function __construct() {
		$this->set_mode();
		switch($this->mode) {
			case 'dev':
				$this->db = 'MySql';
				$this->db_user = 'phpworks';
				$this->db_password = '';
				$this->db_name = 'phpworks_dev';
				$this->db_host = 'localhost';
				$this->db_port = '3306';
				$this->use_db_session = true;
				$this->log_level = 'debug';
				$this->http_host = 'dev.example.com';
{'fraction_non_alphanumeric': 0.1804635761589404, 'fraction_numerical': 0.00717439293598234, 'mean_word_length': 3.61323155216285, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, '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': '1514802', 'n_tokens_mistral': 713, 'n_tokens_neox': 630, 'n_words': 143}