Replace function require() with require_once()
Add constants for messages, remove depricated global variable
Fix out of bounds error
Replace file_get_contents() function with include() and add apostraphes to array indices
Mofify function externalIP() to return error message on failure
Remove unnescessary comments, replace function require() with require_once() and add error message if an invalid request is made
Remove unnescessary comments, replace function require() with require_once() and modify error message to be inline with others
Update to return error message if accessed illigally
Add index file to modules directory which will return and error if accessed. Useful for those who can't utilise .htaccess
Update login page to better detect invalid access and return an error message
Remove constants for messages, modify modules constant and fix error reporting