<commit_before><?php
if( !defined( 'ABSPATH' ) ) die( 'do not access this file directly' );

setlocale( LC_ALL, WP_LANG );
$timezone_backup = date_default_timezone_get();
date_default_timezone_set( get_option( 'timezone_string' ) );

$_defaults = array(
	'init' => 1,
	'init_lat' => 36.6935247,
	'init_lng' => 127.6301252,
	'init_level' => 12,
	'sw_lat' => 29.282442238789592,
	'sw_lng' => 125.19125734240878,
	'ne_lat' => 38.126448380480554,
	'ne_lng' => 136.66307174360804,
	'level' => 12,
	'ymd' => date('Y-m-d'),
	'today_only' => 0,
	'category' => 0, // 0: all
	'keyword' => '',
	'auto_search' => 1,
	'page' => 1,
);
$_attributes = array_intersect_key( array_merge( $_defaults, $_GET ), $_defaults );
$_attributes[init] = $_GET[sw_lat] ? 0 : $_attributes[init];
foreach( $_attributes as $key => $value ){
	define( strtoupper( $key ), urldecode( $value ) );
}

$today = mktime(0, 0, 0, date("m")  , date("d"), date("Y")); 
$theday = mktime(0, 0, 0, 4, 16, 2014); 
$counter = ($today - $theday) / (60 * 60 * 24);

define( 'YMD_TODAY', date('Y-m-d') );
define( 'DAY_COUNTER', $counter);
define( 'TODAY_YEAR', date('Y') );
define( 'TODAY_MONTH', date('n') );
define( 'TODAY_DAY', date('j') );
define( 'TODAY_WEEKDAY', date('D') );

define( 'TEMPLATEDIR', get_stylesheet_directory_uri() );
define( 'BASEURL', SITE_URL.'/' );
define( 'LISTURL', TEMPLATEDIR.'/ajax-list.php' );
define( 'DETAILURL', TEMPLATEDIR.'/ajax-detail.php' );

define( 'SITE_URL', get_option('home') );
define( 'SITE_TITLE', get_option('blogname') );<commit_msg>modified:   config-sample.php<commit_after><?php
if( !defined( 'ABSPATH' ) ) die( 'do not access this file directly' );

setlocale( LC_ALL, WP_LANG );
$timezone_backup = date_default_timezone_get();
date_default_timezone_set( get_option( 'timezone_string' ) );

$_defaults = array(
	'init' => 1,
	'init_lat' => 36.6935247,
	'init_lng' => 127.6301252,
	'init_level' => 12,
	'sw_lat' => 29.282442238789592,
	'sw_lng' => 125.19125734240878,
	'ne_lat' => 38.126448380480554,
	'ne_lng' => 136.66307174360804,
	'level' => 12,
	'ymd' => date('Y-m-d'),
	'today_only' => 0,
	'category' => 0, // 0: all
	'keyword' => '',
	'auto_search' => 1,
	'page' => 1,
);
$_attributes = array_intersect_key( array_merge( $_defaults, $_GET ), $_defaults );
$_attributes[init] = $_GET[sw_lat] ? 0 : $_attributes[init];
foreach( $_attributes as $key => $value ){
	define( strtoupper( $key ), urldecode( $value ) );
}

$today = mktime(0, 0, 0, date("m")  , date("d"), date("Y")); 
$theday = mktime(0, 0, 0, 4, 16, 2014); 
$counter = ($today - $theday) / (60 * 60 * 24);

define( 'YMD_TODAY', date('Y-m-d') );
define( 'DAY_COUNTER', $counter);
define( 'TODAY_YEAR', date('Y') );
define( 'TODAY_MONTH', date('n') );
define( 'TODAY_DAY', date('j') );
define( 'TODAY_WEEKDAY', date('D') );

define( 'SITE_URL', get_option('home') );
define( 'BASEURL', SITE_URL.'/' );

define( 'TEMPLATEDIR', get_stylesheet_directory_uri() );
define( 'LISTURL', TEMPLATEDIR.'/ajax-list.php' );
define( 'DETAILURL', TEMPLATEDIR.'/ajax-detail.php' );

define( 'SITE_TITLE', get_option('blogname') );
{'fraction_non_alphanumeric': 0.22168127231418372, 'fraction_numerical': 0.0759493670886076, 'mean_word_length': 5.515856236786469, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, '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': '4465587', 'n_tokens_mistral': 1473, 'n_tokens_neox': 1280, 'n_words': 257}