<commit_before><?php

/*
 * MySQL server and database settings
 */

define("MYSQL_HOST", "localhost");
define("MYSQL_USER", "vmail");
define("MYSQL_PASSWORD", "<PASSWORD>");
define("MYSQL_DATABASE", "vmail");


/*
 * Database table names
 */

// Table names
define("DBT_USERS", "users");
define("DBT_DOMAINS", "domains");
define("DBT_ALIASES", "aliases");

// Users table columns
define("DBC_USERS_ID", "id");
define("DBC_USERS_USERNAME", "username");
define("DBC_USERS_DOMAIN", "domain");
define("DBC_USERS_PASSWORD", "password");
// define("DBC_USERS_MAILBOXLIMIT", "mailbox_limit");		// (Optional)

// Domains table columns
define("DBC_DOMAINS_ID", "id");
define("DBC_DOMAINS_DOMAIN", "domain");

// Aliases table columns
define("DBC_ALIASES_ID", "id");
define("DBC_ALIASES_SOURCE", "source");
define("DBC_ALIASES_DESTINATION", "destination");


/*
 * Frontend paths
 */

define("FRONTEND_BASE_PATH", "http://localhost/webmum/");
define("SUBDIR", "webmum/");


/*
 * Admin e-mail address
 */

define("ADMIN_EMAIL", "<EMAIL>");


/*
 * Minimal password length
 */

define("MIN_PASS_LENGTH", 8);

/*
 * Write log file? Failed login attempts will be written to the logfile.
 * You can mointor the logfile with fail2ban and ban attackers' IP-addresses.
 * Make sure that PHP has permission to create the log directory and webmum.log (write permissions for php user)
 * 
 * Default: Do not write logfile
 */

// define("WRITE_LOG", true);
// define("WRITE_LOG_PATH","/var/www/webmum/log/");

?>
<commit_msg>Updates example config<commit_after><?php

/*
 * MySQL server and database settings
 */

define("MYSQL_HOST", "localhost");
define("MYSQL_USER", "vmail");
define("MYSQL_PASSWORD", "<PASSWORD>");
define("MYSQL_DATABASE", "vmail");


/*
 * Database table names
 */

// Table names
define("DBT_USERS", "users");
define("DBT_DOMAINS", "domains");
define("DBT_ALIASES", "aliases");

// Users table columns
define("DBC_USERS_ID", "id");
define("DBC_USERS_USERNAME", "username");
define("DBC_USERS_DOMAIN", "domain");
define("DBC_USERS_PASSWORD", "password");
// define("DBC_USERS_MAILBOXLIMIT", "mailbox_limit");		// (Optional)

// Domains table columns
define("DBC_DOMAINS_ID", "id");
define("DBC_DOMAINS_DOMAIN", "domain");

// Aliases table columns
define("DBC_ALIASES_ID", "id");
define("DBC_ALIASES_SOURCE", "source");
define("DBC_ALIASES_DESTINATION", "destination");


/*
 * Frontend paths
 */

define("FRONTEND_BASE_PATH", "http://localhost/webmum/");
define("SUBDIR", "webmum/");


/*
 * Admin e-mail address
 */

// outdated: define("ADMIN_EMAIL", "<EMAIL>");
// new: $admins = array("<EMAIL>", "<EMAIL>");
$admins = array("<EMAIL>");



/*
 * Minimal password length
 */

define("MIN_PASS_LENGTH", 8);

/*
 * Write log file? Failed login attempts will be written to the logfile.
 * You can mointor the logfile with fail2ban and ban attackers' IP-addresses.
 * Make sure that PHP has permission to create the log directory and webmum.log (write permissions for php user)
 *
 * Default: Do not write logfile
 */

// define("WRITE_LOG", true);
// define("WRITE_LOG_PATH","/var/www/webmum/log/");

?>

{'fraction_non_alphanumeric': 0.17927261023495333, 'fraction_numerical': 0.001287415513356936, 'mean_word_length': 5.448132780082988, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6847855', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1109, 'n_words': 249}