Installer now uses MySQLi
Correct check if database exists (and option to clean it before installation)
fixed the db a little

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
Merge pull request #74 from MisterIcy/installer

Installer now uses MySQLi
Advanced Scoring functionality

This commit introduces the functionality of advanced scoring, it allows admins to assign penalties and rewards
for each challenge for each class based on a number of detection points described in the advanced scoring page.

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
fixed the bug where users where not auto-added to the global class if admin created them

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
fixed pdo exception bug happening because of poor type checking and because I missed updating the class_id in the session

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
added some index.php file in the installer folders to prevent path discolosure

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>