Integrate Klogger logging class.
Add LOG_DIRECTORY constant, and import Klogger into Authenticate.class.php
Fix indentation issue.
Fix 'Unexpected /' error.
Add logging for MySQL connection errors.
Replace errors presented with CONSTANTS with Klogger calls.
Switch from PHPMailer to SwiftMailer.
Fix missing brackets.
Rename the constants for the mail settings, because SwiftMailer has different requirements to PHPMailer.
Mail sending is now handled by generate_email(), not the caller. Error logging for failed emails is now handled by generate_email()
Rename generate_email() to send_email()
Change comment markers from /* to //
Remove accidental double // in include path.
Change file names to lower case, and delete unnecessary files.
Fix bracket ordering bug.
Specify the required length of the EMAILS field.
Fix missing '$this->' when using the '$log' object.
Check for duplicate accounts when creating users.
Fix 'Cannot pass parameter by reference' error in a bind_param statement.
Remove more unnecessary options in the configuration file.