<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class DB extends CI_Controller{

	public function index(){
		$this->load->database(); // laadt het database systeem.
		
		$this->db->query("UPDATE Gebruiker SET 'Rechten' ='Admin' WHERE 'Bijnaam' = 'joke'");
		// CODE GEBRUIKT 18-04-2015 @ 14.22 VOOR TOEVOEGING TABEL CAPTCHA
		/* AANGEPAST VAN
		 * CREATE TABLE captcha (
        captcha_id bigint(13) unsigned NOT NULL auto_increment,
        captcha_time int(10) unsigned NOT NULL,
        ip_address varchar(45) NOT NULL,
        word varchar(20) NOT NULL,
        PRIMARY KEY `captcha_id` (`captcha_id`),
        KEY `word` (`word`)
		);
		@ http://www.codeigniter.com/userguide3/helpers/captcha_helper.html
		 */
		
		/*
		$this->db->query("
		CREATE TABLE captcha (
        captcha_id INTEGER PRIMARY KEY AUTOINCREMENT,
        captcha_time INTEGER NOT NULL,
        ip_address varchar(45) NOT NULL,
        word varchar(20) NOT NULL
		);");*/
		<commit_msg>Revert "database"<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class DB extends CI_Controller{

	public function index(){
		$this->load->database(); // laadt het database systeem.
		
		// CODE GEBRUIKT 18-04-2015 @ 14.22 VOOR TOEVOEGING TABEL CAPTCHA
		/* AANGEPAST VAN
		 * CREATE TABLE captcha (
        captcha_id bigint(13) unsigned NOT NULL auto_increment,
        captcha_time int(10) unsigned NOT NULL,
        ip_address varchar(45) NOT NULL,
        word varchar(20) NOT NULL,
        PRIMARY KEY `captcha_id` (`captcha_id`),
        KEY `word` (`word`)
		);
		@ http://www.codeigniter.com/userguide3/helpers/captcha_helper.html
		 */
		
		/*
		$this->db->query("
		CREATE TABLE captcha (
        captcha_id INTEGER PRIMARY KEY AUTOINCREMENT,
        captcha_time INTEGER NOT NULL,
        ip_address varchar(45) NOT NULL,
        word varchar(20) NOT NULL
		);");*/
		
{'fraction_non_alphanumeric': 0.11783107403545359, 'fraction_numerical': 0.026068821689259645, 'mean_word_length': 3.0062630480167014, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '4307391', 'n_tokens_mistral': 744, 'n_tokens_neox': 626, 'n_words': 171}