<commit_before><?php
/**
 * Created by PhpStorm.
 * User: uyve7bo
 * Date: 04.04.2016
 * Time: 08:37
 */
$config = parse_ini_file('mysqli_config.ini', TRUE);
$strQuery = "SET character_set_results = 'utf8',
				character_set_client = 'utf8',
				character_set_connection = 'utf8',
				character_set_database = 'utf8',
				character_set_server = 'utf8'";
require_once("db_cnx.php");
$filename = "sec-mjam.loki-net.at/config/poll_result.txt";
$insertvote = "0||0||0||0";
$fp = fopen($filename,"w");
fputs($fp,$insertvote);
fclose($fp);
echo 'poll_result.txt reset successfull<br><br>';
$update_vote = "UPDATE login SET vote = '0'";
$query = $mysqli->query($update_vote);
echo 'Vote count reset successfull';<commit_msg>bugfix poll_Reset<commit_after><?php
/**
 * Created by PhpStorm.
 * User: uyve7bo
 * Date: 04.04.2016
 * Time: 08:37
 */
$config = parse_ini_file('mysqli_config.ini', TRUE);
$strQuery = "SET character_set_results = 'utf8',
				character_set_client = 'utf8',
				character_set_connection = 'utf8',
				character_set_database = 'utf8',
				character_set_server = 'utf8'";
require_once("db_cnx.php");
$filename = "/var/www/vhosts/loki-net.at/sec-mjam.loki-net.at/prod/config/poll_result.txt";
$insertvote = "0||0||0||0";
$fp = fopen($filename,"w");
fputs($fp,$insertvote);
fclose($fp);
echo 'poll_result.txt reset successfull<br><br>';
$update_vote = "UPDATE login SET vote = '0'";
$query = $mysqli->query($update_vote);
echo 'Vote count reset successfull';
{'fraction_non_alphanumeric': 0.18218898708361658, 'fraction_numerical': 0.03127124405166554, 'mean_word_length': 5.63063063063063, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '5409187', 'n_tokens_mistral': 602, 'n_tokens_neox': 558, 'n_words': 102}