<commit_before><?php
ini_set('date.timezone', 'UTC');

define('MICRO_TIME', microtime(true));
define('TIME', intval(MICRO_TIME));

// Repository paths
const ROOT = __DIR__ . '/../';
const LIB = ROOT . 'lib/';
const ENGINE = ROOT . 'engine/';
const WWW = ROOT . 'htdocs/';
const UPLOAD = WWW . 'upload/';
const ADMIN = ROOT . 'admin/';
const TOOLS = ROOT . 'tools/';
const CONFIG = ROOT . 'config/';
const TEMPLATES_DIR = ROOT . 'templates/';

// Define server-specific constants
require_once(CONFIG . 'config.specific.php');

if (ENABLE_DEBUG) {
	// Warn about everything when in debug mode
	error_reporting(E_ALL);
}

if (ENABLE_BETA && !ENABLE_DEBUG) {
	// Everything raises an exception in beta mode (for e-mail notifications).
	// However, in debug mode, we prefer to use xdebug's handler.
	set_error_handler("exception_error_handler");
}

// Change the browser title based on the server config
const PAGE_PREFIX = ENABLE_DEBUG ? 'DEV: ' : (ENABLE_BETA ? 'BETA: ' : '');
const PAGE_TITLE = PAGE_PREFIX . 'Space Merchant Realms';

const ACCOUNT_ID_PORT = 65535;
const ACCOUNT_ID_ADMIN = 65534;
const ACCOUNT_ID_PLANET = 65533;
const ACCOUNT_ID_ALLIANCE_AMBASSADOR = 65532;
const ACCOUNT_ID_CASINO = 65531;
const ACCOUNT_ID_BANK_REPORTER = 65530;
const ACCOUNT_ID_FED_CLERK = 65529;
const ACCOUNT_ID_OP_ANNOUNCE = 65528;
const ACCOUNT_ID_ALLIANCE_COMMAND = 65527;
const ACCOUNT_ID_GROUP_RACES = 65500;
const ACCOUNT_ID_NHL = 36;

const TIME_BETWEEN_VOTING = 84600; //23 1/2 hours
const TIME_BEFORE_NEWBIE_TIME = 3600; //1 hour<commit_msg>config.php: always report all error levels<commit_after><?php
ini_set('date.timezone', 'UTC');
error_reporting(E_ALL);

// Must use define so that the time is evaluated at runtime, not compile time.
define('MICRO_TIME', microtime(true));
define('TIME', intval(MICRO_TIME));

// Repository paths
const ROOT = __DIR__ . '/../';
const LIB = ROOT . 'lib/';
const ENGINE = ROOT . 'engine/';
const WWW = ROOT . 'htdocs/';
const UPLOAD = WWW . 'upload/';
const ADMIN = ROOT . 'admin/';
const TOOLS = ROOT . 'tools/';
const CONFIG = ROOT . 'config/';
const TEMPLATES_DIR = ROOT . 'templates/';

// Define server-specific constants
require_once(CONFIG . 'config.specific.php');

if (ENABLE_BETA && !ENABLE_DEBUG) {
	// Everything raises an exception in beta mode (for e-mail notifications).
	// However, in debug mode, we prefer to use xdebug's handler.
	set_error_handler("exception_error_handler");
}

// Change the browser title based on the server config
const PAGE_PREFIX = ENABLE_DEBUG ? 'DEV: ' : (ENABLE_BETA ? 'BETA: ' : '');
const PAGE_TITLE = PAGE_PREFIX . 'Space Merchant Realms';

const ACCOUNT_ID_PORT = 65535;
const ACCOUNT_ID_ADMIN = 65534;
const ACCOUNT_ID_PLANET = 65533;
const ACCOUNT_ID_ALLIANCE_AMBASSADOR = 65532;
const ACCOUNT_ID_CASINO = 65531;
const ACCOUNT_ID_BANK_REPORTER = 65530;
const ACCOUNT_ID_FED_CLERK = 65529;
const ACCOUNT_ID_OP_ANNOUNCE = 65528;
const ACCOUNT_ID_ALLIANCE_COMMAND = 65527;
const ACCOUNT_ID_GROUP_RACES = 65500;
const ACCOUNT_ID_NHL = 36;

const TIME_BETWEEN_VOTING = 84600; //23 1/2 hours
const TIME_BEFORE_NEWBIE_TIME = 3600; //1 hour
{'fraction_non_alphanumeric': 0.11991022763706316, 'fraction_numerical': 0.04232125681308112, 'mean_word_length': 4.886792452830188, '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': '4180228', 'n_tokens_mistral': 1250, 'n_tokens_neox': 1129, 'n_words': 305}