<commit_before><?php

/* best to leave the PHP settings at the top in case they are overridden in another environment */
ini_set('memory_limit', '1000M');
ini_set('max_execution_time', '360');

/* Default Environment */
if(!isset($GLOBALS['ENV_NAME'])) $GLOBALS['ENV_NAME'] = 'development';

define('WEB_ROOT', 'http://localhost/eol_php_code/');   // URL prefix of this installation
define('MAGICK_HOME', '/usr/local/ImageMagick/');       // path to ImageMagick home directory
define('MYSQL_BIN_PATH', 'mysql ');                     // path to mysql binary. THE SPACE AT THE END IS IMPORTANT


/* Initialize app - this should be towards the top of environment.php, but declare the WEB_ROOT first 
   this will load values from ./environments/ENV_NAME.php before values below
*/
require_once(dirname(__FILE__) . '/boot.php');






/* the 'default' hierarchy - the one which gets matched to new taxa first */
if(!defined('DEFAULT_HIERARCHY_LABEL')) define('DEFAULT_HIERARCHY_LABEL', 'Species 2000 & ITIS Catalogue of Life: Annual Checklist 2010');


/* MEMCACHED */
//$GLOBALS['ENV_MEMCACHED_SERVER'] = 'localhost';
$GLOBALS['ENV_ENABLE_CACHING'] = true;


/* Modules needed */
require_library('Functions');
require_library('ContentManager');
require_library('SSH2Connection');
require_library('SchemaConnection');
require_library('SchemaParser');
require_library('SchemaValidator');
require_library('CompareHierarchies');
require_library('ControllerBase');
require_library('MysqlBase');
require_library('NamesFunctions');
require_library('Tasks');
require_vendor('eol_content_schema');
require_vendor('solr');
require_vendor('darwincore');


/* For content downloading */<commit_msg>Added more libraries to load at runtime<commit_after><?php

/* best to leave the PHP settings at the top in case they are overridden in another environment */
ini_set('memory_limit', '1000M');
ini_set('max_execution_time', '360');

/* Default Environment */
if(!isset($GLOBALS['ENV_NAME'])) $GLOBALS['ENV_NAME'] = 'development';

define('WEB_ROOT', 'http://localhost/eol_php_code/');   // URL prefix of this installation
define('MAGICK_HOME', '/usr/local/ImageMagick/');       // path to ImageMagick home directory
define('MYSQL_BIN_PATH', 'mysql ');                     // path to mysql binary. THE SPACE AT THE END IS IMPORTANT



/* MEMCACHED */
//$GLOBALS['ENV_MEMCACHED_SERVER'] = 'localhost';
$GLOBALS['ENV_ENABLE_CACHING'] = true;



/* Initialize app - this should be towards the top of environment.php, but declare the WEB_ROOT first 
   this will load values from ./environments/ENV_NAME.php before values below
*/
require_once(dirname(__FILE__) . '/boot.php');






/* the 'default' hierarchy - the one which gets matched to new taxa first */
if(!defined('DEFAULT_HIERARCHY_LABEL')) define('DEFAULT_HIERARCHY_LABEL', 'Species 2000 & ITIS Catalogue of Life: Annual Checklist 2010');


/* Modules needed */
require_library('Functions');
require_library('ContentManager');
require_library('SSH2Connection');
require_library('SchemaConnection');
require_library('SchemaParser');
require_library('SchemaValidator');
require_library('CompareHierarchies');
require_library('ControllerBase');
require_library('MysqlBase');
require_library('NamesFunctions');
require_library('Tasks');
require_library('FileIterator');
require_library('MysqliResultIterator');
require_vendor('eol_content_schema');
require_vendor('solr');
require_vendor('darwincore');


/* For content downloading */
{'fraction_non_alphanumeric': 0.13725490196078433, 'fraction_numerical': 0.00922722029988466, 'mean_word_length': 6.036511156186613, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6400055', 'n_tokens_mistral': 1039, 'n_tokens_neox': 990, 'n_words': 262}