<commit_before><?php
require_once __DIR__."/../web.php";
require_once __DIR__."/../core/config.php";
require_once __DIR__."/../legacy-config.php";
require_once __DIR__."/../core/legacy_user.php";

require_once __DIR__."/../core/theme.php";
require_once __DIR__."/../core/internal/sanitize.php";

config_Load();

$EVENT_NAME = "<NAME> 34";
$EVENT_MODE = 1;
$EVENT_NODE = 100;
$EVENT_DATE = new DateTime("2015-12-12T02:00:00Z");

if ( isset($_GET['beta']) ) {
	$EVENT_MODE = 2;
	$CONFIG['theme-alert'] = '<b>BETA TEST</b> • Vote data will be <b>DELETED</b> • Report bugs <a href="http://ludumdare.com/compo/">HERE</a>';
}

define('HTML_TITLE',$EVENT_NAME." - Theme Hub");
const HTML_CSS_INCLUDE = [ "/style/theme-hub.css.php" ];
const HTML_USE_CORE = true;
const HTML_SHOW_FOOTER = true;

// Extract Id from Cookie
if ( isset($_COOKIE['lusha']) ) {
	$cookie_id = legacy_GetUserFromCookie();	
}
else {
	$cookie_id = 0;
}

$admin = false;
if ( isset($_GET['admin']) ) {
	if ( defined('LEGACY_DEBUG') || $cookie_id === 19 ) {
		$admin = true;
	}
}
<commit_msg>disabled the beta<commit_after><?php
require_once __DIR__."/../web.php";
require_once __DIR__."/../core/config.php";
require_once __DIR__."/../legacy-config.php";
require_once __DIR__."/../core/legacy_user.php";

require_once __DIR__."/../core/theme.php";
require_once __DIR__."/../core/internal/sanitize.php";

config_Load();

$EVENT_NAME = "<NAME>";
$EVENT_MODE = 1;
$EVENT_NODE = 100;
$EVENT_DATE = new DateTime("2015-12-12T02:00:00Z");

//if ( isset($_GET['beta']) ) {
//	$EVENT_MODE = 2;
//	$CONFIG['theme-alert'] = '<b>BETA TEST</b> • Vote data will be <b>DELETED</b> • Report bugs <a href="http://ludumdare.com/compo/">HERE</a>';
//}

define('HTML_TITLE',$EVENT_NAME." - Theme Hub");
const HTML_CSS_INCLUDE = [ "/style/theme-hub.css.php" ];
const HTML_USE_CORE = true;
const HTML_SHOW_FOOTER = true;

// Extract Id from Cookie
if ( isset($_COOKIE['lusha']) ) {
	$cookie_id = legacy_GetUserFromCookie();	
}
else {
	$cookie_id = 0;
}

$admin = false;
if ( isset($_GET['admin']) ) {
	if ( defined('LEGACY_DEBUG') || $cookie_id === 19 ) {
		$admin = true;
	}
}

{'fraction_non_alphanumeric': 0.21330816422840962, 'fraction_numerical': 0.021708352996696555, 'mean_word_length': 4.435897435897436, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 17, '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': '2812507', 'n_tokens_mistral': 887, 'n_tokens_neox': 846, 'n_words': 151}