<commit_before><?php
/**
 * @author <NAME> <<EMAIL>>
 * @version 1.0
 * @copyright Copyright &copy; 2007, Telaxus LLC
 * @license SPL
 * @package epesi-base
 */
defined("_VALID_ACCESS") || die('Direct access forbidden');

require_once('include/version.php');

require_once(DATA_DIR.'/config.php');
if(!defined('DATABASE_HOST')) trigger_error('Missing defined DATABASE_HOST in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DATABASE_USER')) trigger_error('Missing defined DATABASE_USER in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DATABASE_PASSWORD')) trigger_error('Missing defined DATABASE_PASSWORD in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DATABASE_NAME')) trigger_error('Missing defined DATABASE_NAME in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DATABASE_DRIVER')) trigger_error('Missing defined DATABASE_DRIVER in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DEBUG')) define("DEBUG",0);
if(!defined('DEBUG_CSS')) define("DEBUG_CSS",0);
if(!defined('MODULE_TIMES')) define("MODULE_TIMES",0);
if(!defined('SQL_TIMES')) define("SQL_TIMES",0);
if(!defined('STRIP_OUTPUT')) define("STRIP_OUTPUT",0);
if(!defined('DISPLAY_ERRORS')) define("DISPLAY_ERRORS",0);
if(!defined('REPORT_ALL_ERRORS')) define("REPORT_ALL_ERRORS",0);
if(!defined('GZIP_HISTORY')) define("GZIP_HISTORY",1);
if(!defined('REDUCING_TRANSFER')) define("REDUCING_TRANSFER",1);
if(!defined('CACHE_COMMON_FILES')) define("CACHE_COMMON_FILES",0);
if(!defined('FORCE_CACHE_COMMON_FILES')) define("FORCE_CACHE_COMMON_FILES",0);
if(!defined('MINIFY_ENCODE')) define('MINIFY_ENCODE',1);
if(!defined('MINIFY_SOURCES')) define('MINIFY_SOURCES',0);
if(!defined('MEMCACHE_SESSION_SERVER')) define('MEMCACHE_SESSION_SERVER','');

if(!defined('SUGGEST_DONATION')) define('SUGGEST_DONATION',1);
if(!defined('CHECK_VERSION')) define('CHECK_VERSION',1);
if(!defined('TRACKING_CODE')) define('TRACKING_CODE','');

if(!defined('JS_OUTPUT')) define('JS_OUTPUT',0);
if(!defined('SET_SESSION')) define('SET_SESSION',1);
if(!defined('READ_ONLY_SESSION')) define('READ_ONLY_SESSION',0);
if(!defined('MOBILE_DEVICE')) define('MOBILE_DEVICE',0);
if(!defined('DIRECTION_RTL')) define('DIRECTION_RTL',0);

if(!defined('FIRST_RUN')) define('FIRST_RUN','FirstRun');

if(!defined('HOSTING_MODE')) define('HOSTING_MODE',0);
if(!defined('TRIAL_MODE')) define('TRIAL_MODE',0);
if(!defined('DEMO_MODE')) define('DEMO_MODE',0);

if(!defined('STARTING_MESSAGE')) define('STARTING_MESSAGE','Starting epesi ...');<commit_msg>change default DISPLAY_ERRORS to true.<commit_after><?php
/**
 * @author <NAME> <<EMAIL>>
 * @version 1.0
 * @copyright Copyright &copy; 2007, Telaxus LLC
 * @license SPL
 * @package epesi-base
 */
defined("_VALID_ACCESS") || die('Direct access forbidden');

require_once('include/version.php');

require_once(DATA_DIR.'/config.php');
if(!defined('DATABASE_HOST')) trigger_error('Missing defined DATABASE_HOST in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DATABASE_USER')) trigger_error('Missing defined DATABASE_USER in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DATABASE_PASSWORD')) trigger_error('Missing defined DATABASE_PASSWORD in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DATABASE_NAME')) trigger_error('Missing defined DATABASE_NAME in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DATABASE_DRIVER')) trigger_error('Missing defined DATABASE_DRIVER in '.DATA_DIR.'/config.php.',E_USER_ERROR);
if(!defined('DEBUG')) define("DEBUG",0);
if(!defined('DEBUG_CSS')) define("DEBUG_CSS",0);
if(!defined('MODULE_TIMES')) define("MODULE_TIMES",0);
if(!defined('SQL_TIMES')) define("SQL_TIMES",0);
if(!defined('STRIP_OUTPUT')) define("STRIP_OUTPUT",0);
if(!defined('DISPLAY_ERRORS')) define("DISPLAY_ERRORS",1);
if(!defined('REPORT_ALL_ERRORS')) define("REPORT_ALL_ERRORS",0);
if(!defined('GZIP_HISTORY')) define("GZIP_HISTORY",1);
if(!defined('REDUCING_TRANSFER')) define("REDUCING_TRANSFER",1);
if(!defined('CACHE_COMMON_FILES')) define("CACHE_COMMON_FILES",0);
if(!defined('FORCE_CACHE_COMMON_FILES')) define("FORCE_CACHE_COMMON_FILES",0);
if(!defined('MINIFY_ENCODE')) define('MINIFY_ENCODE',1);
if(!defined('MINIFY_SOURCES')) define('MINIFY_SOURCES',0);
if(!defined('MEMCACHE_SESSION_SERVER')) define('MEMCACHE_SESSION_SERVER','');

if(!defined('SUGGEST_DONATION')) define('SUGGEST_DONATION',1);
if(!defined('CHECK_VERSION')) define('CHECK_VERSION',1);
if(!defined('TRACKING_CODE')) define('TRACKING_CODE','');

if(!defined('JS_OUTPUT')) define('JS_OUTPUT',0);
if(!defined('SET_SESSION')) define('SET_SESSION',1);
if(!defined('READ_ONLY_SESSION')) define('READ_ONLY_SESSION',0);
if(!defined('MOBILE_DEVICE')) define('MOBILE_DEVICE',0);
if(!defined('DIRECTION_RTL')) define('DIRECTION_RTL',0);

if(!defined('FIRST_RUN')) define('FIRST_RUN','FirstRun');

if(!defined('HOSTING_MODE')) define('HOSTING_MODE',0);
if(!defined('TRIAL_MODE')) define('TRIAL_MODE',0);
if(!defined('DEMO_MODE')) define('DEMO_MODE',0);

if(!defined('STARTING_MESSAGE')) define('STARTING_MESSAGE','Starting epesi ...');
{'fraction_non_alphanumeric': 0.2061098988295973, 'fraction_numerical': 0.011505653640150763, 'mean_word_length': 14.005952380952381, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '3172947', 'n_tokens_mistral': 1785, 'n_tokens_neox': 1730, 'n_words': 218}